mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
25 lines
667 B
Text
25 lines
667 B
Text
#%PAM-1.0
|
|
|
|
# Block login if they are disabled
|
|
auth required pam_nologin.so
|
|
|
|
# Load environment from /etc/environment and ~/.pam_environment
|
|
auth required pam_env.so
|
|
|
|
# Use /etc/passwd and /etc/shadow for passwords
|
|
auth required pam_unix.so
|
|
|
|
# Check account is active, change password if required
|
|
account required pam_unix.so
|
|
|
|
# Allow password to be changed
|
|
password required pam_unix.so
|
|
|
|
# Setup session
|
|
session required pam_unix.so
|
|
-session optional pam_systemd.so
|
|
session required pam_limits.so
|
|
|
|
# Allow user to automatically unlock the default gnome-keyring
|
|
-auth optional pam_gnome_keyring.so
|
|
-session optional pam_gnome_keyring.so auto_start
|