PAM service used by OpenSSH on Solaris?

Darren Tucker dtucker at zip.com.au
Sat Aug 18 16:36:36 EST 2007


Alexander Skwar wrote:
> Which pam service is sshd using on Solaris? Is it sshd?

For OpenSSH, by default it's the name of the server binary which is 
"sshd" in a normal installation.  You can override this at build time by 
specifying a custom "SSHD_PAM_SERVICE" #define.

Quoth the INSTALL file:

"If you are using PAM, you may need to manually install a PAM control
file as "/etc/pam.d/sshd" (or wherever your system prefers to keep
them).  Note that the service name used to start PAM is __progname,
which is the basename of the path of your sshd (e.g., the service name
for /usr/sbin/osshd will be osshd).  If you have renamed your sshd
executable, your PAM configuration may need to be modified."

-- 
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 openssh-unix-dev mailing list