Created
February 18, 2025 22:50
-
-
Save VSharapov/3b4f21acf394b23c80f04d7700ea58c9 to your computer and use it in GitHub Desktop.
Make sudo passwordless for current user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| echo "$USER ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/$USER > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment