User guide
Appendix D - Linux-PAM
User Guide 349
OTHER auth required pam_warn.so
OTHER password required pam_warn.so
Having two “OTHER auth” lines is an example of stacking.
On a system that uses the /etc/pam.d/ configuration, the corresponding default setup would
be achieved with the following file:
#
# default configuration: /etc/pam.d/other
#
auth required pam_warn.so
auth required pam_deny.so
account required pam_deny.so
password required pam_warn.so
password required pam_deny.so
session required pam_deny.so
On a less sensitive computer, the following selection of lines (in /etc/pam.conf) is likely to
mimic the historically familiar Linux setup:
#
# default; standard UNIX access
#
OTHER auth required pam_unix_auth.so
OTHER account required pam_unix_acct.so
OTHER password required pam_unix_passwd.so
OTHER session required pam_unix_session.so
In general this will provide a starting place for most applications.