Skip to content

Instantly share code, notes, and snippets.

@littlebees
Created September 9, 2021 12:49
Show Gist options
  • Save littlebees/4eeb3bc13a017a7405e5d50ef9264508 to your computer and use it in GitHub Desktop.
Save littlebees/4eeb3bc13a017a7405e5d50ef9264508 to your computer and use it in GitHub Desktop.
#%PAM-1.0
auth sufficient pam_unix.so
-auth sufficient pam_systemd_home.so
auth required pam_deny.so
account required pam_nologin.so
-account sufficient pam_systemd_home.so
account sufficient pam_unix.so
account required pam_permit.so
-password sufficient pam_systemd_home.so
password sufficient pam_unix.so sha512 shadow try_first_pass use_authtok
password required pam_deny.so
-session optional pam_keyinit.so revoke
-session optional pam_loginuid.so
-session optional pam_systemd_home.so
-session optional pam_systemd.so
session required pam_unix.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment