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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.
Comment by Dave Reisner (falconindy) - Tuesday, 09 July 2013, 17:24 GMT
Why is your shell set to /usr/bin/bash? This is a config error on your part, not a bug.
Comment by Daniel Landau (dlandau) - Tuesday, 09 July 2013, 17:35 GMT
Hmm. I don't remember doing that, but I could be wrong.
Comment by Dave Reisner (falconindy) - Tuesday, 09 July 2013, 17:35 GMT
Well that's why it's failing... No one except you created your own user account.

Loading...