Configuring PAM for OpenSSH

Darren Tucker dtucker at zip.com.au
Tue Feb 22 10:36:48 UTC 2005


magnus at kalimax.net wrote:
> I'm trying to get OpenSSH to work on my newly installed Solaris 10.
> 
> This is my /etc/pam.conf:
> 
> #                                                                        
> # Support for OpenSSH (sshd)                                             
> #                                                                        
> sshd    auth    required        /usr/lib/security/pam_unix_auth.so.1     
> sshd    account required        /usr/lib/security/pam_unix_account.so.1  
> sshd    session required        /usr/lib/security/pam_unix_session.so.1  

Duplicating "other" ought to work (or omitting sshd entirely and letting 
it default to "other").

Solaris seems to need far more than you're giving it.  Try running this 
and adding the result:
$ egrep ^other /etc/pam.conf | sed 's/other/sshd/g'

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the Pam-list mailing list