| 1 |
# /etc/pam.d/system-auth -- PAM configuration for all services. |
| 2 |
# |
| 3 |
# This file is included from other service-specific PAM config files on |
| 4 |
# Red Hat, and should define common default PAM actions for all services. |
| 5 |
# |
| 6 |
# Try local authentication first and then Kerberos. Run pam_afs_session |
| 7 |
# from both the auth and session groups. program could also be set while |
| 8 |
# building pam_afs_session or in /etc/krb5.conf (if built with Kerberos |
| 9 |
# support). |
| 10 |
# |
| 11 |
# Copyright 2008 |
| 12 |
# The Board of Trustees of the Leland Stanford Junior University |
| 13 |
# |
| 14 |
# Copying and distribution of this file, with or without modification, are |
| 15 |
# permitted in any medium without royalty provided the copyright notice |
| 16 |
# and this notice are preserved. This file is offered as-is, without any |
| 17 |
# warranty. |
| 18 |
|
| 19 |
auth required /lib/security/$ISA/pam_env.so |
| 20 |
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok |
| 21 |
auth [success=ok default=1] /lib/security/$ISA/pam_krb5.so |
| 22 |
auth [default=done] /lib/security/$ISA/pam_afs_session.so program=/usr/bin/aklog |
| 23 |
auth required /lib/security/$ISA/pam_deny.so |
| 24 |
|
| 25 |
account required /lib/security/$ISA/pam_krb5.so |
| 26 |
account required /lib/security/$ISA/pam_unix.so |
| 27 |
|
| 28 |
session optional /lib/security/$ISA/pam_krb5.so |
| 29 |
session required /lib/security/$ISA/pam_afs_session.so program=/usr/bin/aklog |
| 30 |
session required /lib/security/$ISA/pam_limits.so |
| 31 |
session required /lib/security/$ISA/pam_unix.so |
| 32 |
|
| 33 |
# No Kerberos or AFS bits here at all, although you could use pam_krb5 to |
| 34 |
# do password changes through Kerberos. |
| 35 |
password required /lib/security/$ISA/pam_cracklib.so retry=3 type= |
| 36 |
password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow |
| 37 |
password required /lib/security/$ISA/pam_deny.so |