mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Set sudo max tries to 10, binary for easy lockout reset (#686)
* set sudo max fail count to 10, bin for easy reset * Slim down Let the failure just fail in the shell * Rename to be more descriptive * No need for the 00- prefix * Add migration to raise sudo try limit --------- Co-authored-by: Manuel <manuel.ramsaier@gmail.com> Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
4
bin/omarchy-reset-sudo
Executable file
4
bin/omarchy-reset-sudo
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Resetting sudo lockout for user: $USER"
|
||||
su -c "faillock --reset --user $USER"
|
||||
Reference in New Issue
Block a user