Files
Nomarchy/bin/nomarchy-sudo-reset
Bernardo Magri 33deeb494b initial commit
2026-04-01 17:06:01 +01:00

8 lines
226 B
Bash
Executable File

#!/bin/bash
# Reset the sudo lockout/faillock for the current user.
# This clears any failed authentication attempts that may have locked the user out.
# Resetting sudo lockout for user
su -c "faillock --reset --user $USER"