Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 73a3785

Browse files
author
Tuxx
committed
Updated pam.d file to allow for faster password authentication checks
1 parent 1c90c46 commit 73a3785

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

pam.d/fancylock

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,4 @@
11
#%PAM-1.0
22
# /etc/pam.d/fancylock - PAM configuration for fancylock screen locker
3-
4-
# Load environment variables from /etc/environment and /etc/security/pam_env.conf
5-
auth required pam_env.so
6-
7-
# Check that the account is not locked or expired
8-
auth required pam_unix.so try_first_pass
9-
10-
# Check additional modules like LDAP or Kerberos if configured
11-
# auth optional pam_ldap.so try_first_pass
12-
# auth optional pam_krb5.so try_first_pass
13-
14-
# No root login if /etc/nologin exists
15-
account required pam_nologin.so
16-
17-
# Basic account checks
18-
account required pam_unix.so
19-
20-
# Set up user limits (e.g., for ulimits)
21-
session required pam_limits.so
22-
23-
# Standard Unix session setup
24-
session required pam_unix.so
3+
auth required pam_unix.so nodelay
4+
account required pam_unix.so

0 commit comments

Comments
 (0)