Angstrom-distribution / meta-angstrom

MIrror of Angstrom metadata layer
http://www.angstrom-distribution.org/
MIT License
49 stars 57 forks source link

ssh with blank root password doesn't work otb #5

Open ashleysommer opened 10 years ago

ashleysommer commented 10 years ago

This tweak here forces openssh to use PAM auth for cleartext passwords, and this tweak here causes PAM to allow null passwords through the pam_unix.so auth module.

Unfortunately, out of the box, the Angstrom root user does not have a null password, he has NO password, a subtle difference and the user gets a password authentication issue when trying to log in through ssh with a null password.

This stackexchange question here provides an answer to the problem. (See the update at the bottom of the first answer).

/etc/shadow needs to have the encrypted value for null password saved for the root user. For example:

root:U6aMy0wojraho:13721:0:99999:7:::

When I add this to my /etc/shadow file, I can log in with no problem now through ssh.

kraj commented 6 years ago

is this still an issue ?