FS#36086 - SSH login with password authentication through PAM fails because of pam_shells.so
Attached to Project:
Arch Linux
Opened by Daniel Landau (dlandau) - Tuesday, 09 July 2013, 17:17 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 July 2013, 22:02 GMT
Opened by Daniel Landau (dlandau) - Tuesday, 09 July 2013, 17:17 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 July 2013, 22:02 GMT
|
Details
Description:
Logging in with public key works, but password authentication through PAM fails. The offending module in PAM is pam_shells.so and it failed the login because the shell /usr/bin/bash was not in /etc/shells. Adding it fixed the login. I also documented the problem and fix in http://serverfault.com/questions/521985/why-can-i-ssh-with-pubkey-but-password-authentication-fails-on-pam/521986#521986. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Wednesday, 10 July 2013, 22:02 GMT
Reason for closing: Not a bug
Additional comments about closing: Please use forums to support request. Thanks.
Wednesday, 10 July 2013, 22:02 GMT
Reason for closing: Not a bug
Additional comments about closing: Please use forums to support request. Thanks.

Why is your shell set to /usr/bin/bash? This is a config error on
your part, not a bug.

Hmm. I don't remember doing that, but I could be wrong.

Well that's why it's failing... No one except you created your own
user account.