Add support for postlogin stack

This is important for ecryptfs
This commit is contained in:
Paolo Bonzini 2011-02-14 13:28:33 -05:00 committed by Ray Strode
parent de6fb34644
commit 431b91ae3f
5 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#%PAM-1.0
auth required pam_env.so
auth required pam_permit.so
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
@ -11,3 +12,4 @@ session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include system-auth
session include postlogin

View File

@ -1,5 +1,6 @@
auth substack fingerprint-auth
auth required pam_succeed_if.so user != root quiet
auth include postlogin
account required pam_nologin.so
account include fingerprint-auth
@ -13,3 +14,4 @@ session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include fingerprint-auth
session include postlogin

View File

@ -4,6 +4,7 @@ auth required pam_succeed_if.so user != root quiet
auth required pam_env.so
auth substack system-auth
auth optional pam_gnome_keyring.so
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
@ -15,3 +16,4 @@ session optional pam_keyinit.so force revoke
session required pam_namespace.so
session optional pam_gnome_keyring.so auto_start
session include system-auth
session include postlogin

View File

@ -2,6 +2,7 @@ auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
auth substack password-auth
auth required pam_succeed_if.so user != root quiet
auth optional pam_gnome_keyring.so
auth include postlogin
account required pam_nologin.so
account include password-auth
@ -16,3 +17,4 @@ session optional pam_keyinit.so force revoke
session required pam_namespace.so
session optional pam_gnome_keyring.so auto_start
session include password-auth
session include postlogin

View File

@ -1,5 +1,6 @@
auth substack smartcard-auth
auth required pam_succeed_if.so user != root quiet
auth include postlogin
account required pam_nologin.so
account include smartcard-auth
@ -13,3 +14,4 @@ session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include smartcard-auth
session include postlogin