分类:
2008-10-13 14:41:01
**************************
[root@pam.d]# cat /etc/pam.d/login
#%PAM-1.0
auth required pam_securetty.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_stack.so service=system-auth
session optional pam_console.so
# pam_selinux.so open should be the last session rule
session required pam_selinux.so multiple open
[root@pam.d]# ls /lib/security
pam_access.so pam_krb5 pam_permit.so pam_tally.so
pam_ccreds.so pam_krb5afs.so pam_postgresok.so pam_time.so
pam_chroot.so pam_krb5.so pam_pwdb.so pam_timestamp.so
pam_console.so pam_lastlog.so pam_rhosts_auth.so pam_unix_acct.so
pam_cracklib.so pam_ldap.so pam_rootok.so pam_unix_auth.so
pam_debug.so pam_limits.so pam_rps.so pam_unix_passwd.so
pam_deny.so pam_listfile.so pam_securetty.so pam_unix_session.so
pam_env.so pam_localuser.so pam_selinux.so pam_unix.so
pam_filter pam_mail.so pam_shells.so pam_userdb.so
pam_filter.so pam_mkhomedir.so pam_smb_auth.so pam_warn.so
pam_ftp.so pam_motd.so pam_stack.so pam_wheel.so
pam_group.so pam_nologin.so pam_stress.so pam_winbind.so
pam_issue.so pam_passwdqc.so pam_succeed_if.so pam_xauth.so