Hi,
There's a user on my machine with no password, and I want to log in over ssh with that account.
Problem is, ssh seems to deny empty passwords.
I've been messing around with /etc/sshd_config, and discovered that:
a) "permitEmptyPasswords no" is set by default, but enabling it doesn't work, because (I think)...
b) "UsePAM yes" is set too.
So I ignored the sshd_config file, and went to /etc/pam.d/sshd, these were the settings:
Code:
auth required pam_nologin.so
auth optional pam_afpmount.so
auth sufficient pam_securityserver.so
auth sufficient pam_unix.so
auth required pam_deny.so
account required pam_securityserver.so
password required pam_deny.so
session required pam_launchd.so
session optional pam_afpmount.so
Setting "auth optional pam_deny.so" (instead of required) enabled me to log in using no password for that account, but apparently also disabled ALL passwords - anybody could log in with no password, and that's obviously not what I want.
Can't figure out what to do now, so I hope there's somebody who can tell me what to do?