1 # This example is a stock debian "login" file with libpam_arvados
2 # replacing pam_unix, and the "noprompt" option in use. It can be
3 # installed as /etc/pam.d/shellinabox .
5 auth optional pam_faildelay.so delay=3000000
6 auth [success=ok new_authtok_reqd=ok ignore=ignore user_unknown=bad default=die] pam_securetty.so
7 auth requisite pam_nologin.so
8 session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
9 session required pam_env.so readenv=1
10 session required pam_env.so readenv=1 envfile=/etc/default/locale
12 auth [success=1 default=ignore] pam_python.so /usr/local/lib/security/libpam_arvados.py api.example shell.example noprompt
13 auth requisite pam_deny.so
14 auth required pam_permit.so
16 auth optional pam_group.so
17 session required pam_limits.so
18 session optional pam_lastlog.so
19 session optional pam_motd.so motd=/run/motd.dynamic
20 session optional pam_motd.so
21 session optional pam_mail.so standard
23 @include common-account
24 @include common-session
25 @include common-password
27 session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open