Skip to content

Instantly share code, notes, and snippets.

@dardo82
Created May 10, 2025 14:57
Show Gist options
  • Save dardo82/251d2cb392fcf79b47049b99acf761f8 to your computer and use it in GitHub Desktop.
Save dardo82/251d2cb392fcf79b47049b99acf761f8 to your computer and use it in GitHub Desktop.
PAMD login
#%PAM-1.0
auth requisite pam_nologin.so
auth include system-local-login
account include system-local-login
password include system-local-login
session include system-local-login
session optional pam_lastlog2.so silent_if=gdm,gdm-password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment