Cisco Headend System Release 2.5
Appendix D
Sample PAM Configuration File
36
4017610 Rev A
PAM Configuration File
The following shows a sample of the PAM configuration file.
# Sample pam configuration file for pam_radius_auth. Copy this file
# to /etc/pam.conf
#
sshd-password
auth required
/usr/lib/security/pam_radius_auth.so.1 debug localifdown
sshd-password
auth sufficient
pam_unix_cred.so.1
sshd-password
auth sufficient
pam_unix_auth.so.1
#
sshd-kbdint
auth required
/usr/lib/security/pam_radius_auth.so.1 debug localifdown
sshd-kbdint
auth sufficient
pam_unix_cred.so.1
sshd-kbdint
auth sufficient
pam_unix_cred.so.1
#
sshd-none
auth required
/usr/lib/security/pam_radius_auth.so.1 debug localifdown
sshd-none
auth requisite
pam_authtok_get.so.1
sshd-none
auth sufficient
pam_unix_cred.so.1
sshd-none
auth sufficient
pam_unix_auth.so.1
#
login
auth required
/usr/lib/security/pam_radius_auth.so.1 debug localifdown
#login
auth requisite
pam_authtok_get.so.1
login
auth sufficient
pam_unix_cred.so.1
login
auth sufficient
pam_unix_auth.so.1
#
other
auth required
/usr/lib/security/pam_radius_auth.so.1 debug localifdown
#other
auth requisite
pam_authtok_get.so.1
other
auth sufficient
pam_unix_cred.so.1
other
auth sufficient
pam_unix_auth.so.1
#
passwd
auth required
pam_passwd_auth.so.1
cron
account required
pam_unix_account.so.1