Last active
August 29, 2015 14:19
-
-
Save Voronenko/784ed56e1093f05e9b0d to your computer and use it in GitHub Desktop.
sudo for devops - prevent from asking passwords
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
#make sure slavko is added to sudoers group | |
# sudo usermod -aG sudo <username> | |
# Allow members of group sudo to execute any command without asking password | |
#%sudo ALL=(ALL:ALL) ALL | |
%sudo ALL=(ALL) NOPASSWD:ALL | |
#allow specific user to do so without password, where slavko is the username | |
slavko ALL=(ALL) NOPASSWD: ALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment