Package: dropbear
Version: 2014.65-1
Severity: normal

After installing dropbear and adding DROPBEAR=y to initramfs.conf,
the system starts with dropbear listening on port 22/tcp alright.
Yay!

Even the SSH authorized_keys file is pre-populated, which is also
a nice touch.

Unfortunately, though, root login does not work. The reason is
discerned from running dropbear with -F -E and then seeing

  [149] Jan 27 04:05:09 User account 'root' is locked

I had a look around, and I think the problem is simply that
/etc/passwd defines /root as root's homedir, whereas initramfs
mounts the target system there at some stage! Changing the homedir
to /root/root enables logging in, but obviously requires /root to be
mounted.

Maybe the best would be to create /roothome during setup for the
purpose of this package?

Note that this applies to the stable package, i.e. before the
dropbox-initramfs split-off.

-- 
 .''`.   martin f. krafft <madduck@d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to