omarchy/install/config/increase-sudo-tries.sh
David Heinemeier Hansson 925a2906e5 Explain purposes
2025-08-25 07:43:07 +02:00

6 lines
209 B
Bash
Executable File

#!/bin/bash
# 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