Created
September 19, 2020 19:47
-
-
Save ochen1/427360138f5829db709119667a8ad076 to your computer and use it in GitHub Desktop.
A script to disable asking for password when using sudo.
This file contains 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
#!/bin/bash | |
echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/$USER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment