mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
Increase faillock to 10
This commit is contained in:
parent
7b05dcfe0c
commit
a15d3740a9
@ -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
|
||||
|
||||
2
migrations/1765744321.sh
Normal file
2
migrations/1765744321.sh
Normal file
@ -0,0 +1,2 @@
|
||||
echo "Increase faillock attempts to 10"
|
||||
sudo sed -i 's/^# *deny = .*/deny = 10/' /etc/security/faillock.conf
|
||||
Loading…
x
Reference in New Issue
Block a user