Created
November 8, 2012 20:20
-
-
Save krists/4041320 to your computer and use it in GitHub Desktop.
Passwordless sudo with group
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
$ sudo groupadd nopass-sudo | |
$ sudo usermod -a -G nopass-sudo krists | |
$ sudo EDITOR=vim visudo | |
# Append | |
%nopass-sudo ALL=(ALL:ALL) NOPASSWD: ALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment