Skip to content

Instantly share code, notes, and snippets.

@BenjiWiebe
Created December 14, 2015 14:06
Show Gist options
  • Save BenjiWiebe/45f960e4a77220e0de35 to your computer and use it in GitHub Desktop.
Save BenjiWiebe/45f960e4a77220e0de35 to your computer and use it in GitHub Desktop.
#%PAM-1.0
auth substack system-auth
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open
session required pam_namespace.so
session optional pam_keyinit.so force revoke
session include system-auth
session include postlogin
-session optional pam_ck_connector.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment