Created
November 3, 2018 19:51
-
-
Save istepanov/bfdd8faf885b26684d327c51f8e535f8 to your computer and use it in GitHub Desktop.
Sudo without password
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
#!/bin/sh | |
echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo env EDITOR="tee -a" visudo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment