| Summary: | pam auth not working the same way | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | stevebalm2000 | ||||||
| Component: | PAM support | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | ||||||||
| Priority: | P2 | ||||||||
| Version: | -current | ||||||||
| Hardware: | SPARC | ||||||||
| OS: | Solaris | ||||||||
| Attachments: |
|
||||||||
|
Description
stevebalm2000
2003-09-26 11:03:23 AEST
Do you have "UsePam yes" in your sshd_config file? 3.7.1p2 by defeault configuration now ships with PAM disabled. You *must* specify "UsePam yes" in your sshd_config for PAM to work with OpenSSH. This is a change in the default behavior between 3.7.1p1 and 3.7.1p2. Created attachment 469 [details]
Output from "sshd -p 30 -d -d -d"
I was able to login using v3.6.1p2
Created attachment 470 [details]
Output from "sshd -p 30 -d -d -d"
I was not able to login using v3.7.1p2
Btw, here is uname -a info:
SunOS trouble 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-5_10
I added "UsePAM yes" to sshd_config and now I get my PAM conversation prompt and my login is successful. The sshd_config that ships with 3.7.1p2 should be updated to show that "UsePAM no" is the default now. Is there any way to avoid the PAM conversation prompt and use the OpenSSH password prompt as 3.6.1p2 used to do? Also, is it possible to use privilege separation and pam at the same time? No, PAM is fundamentally a challenge-response system. The old password auth code worked by ASSuMEing that there would only be a single prompt and that the prompt would be for a password. (FYI, The UsePAM entry in sshd_config has been corrected) sshd_config has been updated with more info on UsePAM: # Set this to 'yes' to enable PAM authentication (via challenge-response) # and session processing. Depending on your PAM configuration, this may # bypass the setting of 'PasswordAuthentication' and 'PermitEmptyPasswords' #UsePAM no BTW, UsePrivilegeSeparation should work fine with UsePAM. Mass change of RESOLVED bugs to CLOSED |