Merge branch 'master' into 6859-fix-invalid-manifests
[arvados.git] / sdk / pam / examples / etc_pam.d_shellinabox
1 # Install in /etc/pam.d/shellinabox
2
3 auth       optional   pam_faildelay.so  delay=3000000
4 auth [success=ok new_authtok_reqd=ok ignore=ignore user_unknown=bad default=die] pam_securetty.so
5 auth       requisite  pam_nologin.so
6 session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
7 session       required   pam_env.so readenv=1
8 session       required   pam_env.so readenv=1 envfile=/etc/default/locale
9
10 auth [success=1 default=ignore] pam_python.so /usr/local/lib/python2.7/dist-packages/arvados_pam/__init__.py api.example shell.example noprompt
11 auth    requisite                       pam_deny.so
12 auth    required                        pam_permit.so
13
14 auth       optional   pam_group.so
15 session    required   pam_limits.so
16 session    optional   pam_lastlog.so
17 session    optional   pam_motd.so  motd=/run/motd.dynamic
18 session    optional   pam_motd.so
19 session    optional   pam_mail.so standard
20
21 @include common-account
22 @include common-session
23 @include common-password
24
25 session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open