mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Increase faillock to 10
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
# Give the user 10 instead of 3 tries to fat finger their password before lockout
|
# 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
|
echo "Defaults passwd_tries=10" | sudo tee /etc/sudoers.d/passwd-tries
|
||||||
sudo chmod 440 /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
|
||||||
Reference in New Issue
Block a user