Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ashleysommer opened this issue May 28, 2014 · 1 comment
Open

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

ashleysommer opened this issue May 28, 2014 · 1 comment

Comments

@ashleysommer
Copy link

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
Copy link
Member

kraj commented Mar 20, 2018

is this still an issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants