Increase faillock to 10

This commit is contained in:
Ryan Hughes committed 2025-12-14 15:32:40 -05:00
1 parent 7b05dcfe0c
commit a15d3740a9
2 files changed
+5

No files matched your search

+3
View File
@@ -1,3 +1,6 @@
# Give the user 10 instead of 3 tries to fat finger their password before lockout
echo "Defaults passwd_tries=10" | sudo tee /etc/sudoers.d/passwd-tries
sudo chmod 440 /etc/sudoers.d/passwd-tries
# Set for hyprlock too
sudo sed -i 's/^# *deny = .*/deny = 10/' /etc/security/faillock.conf