Created
March 1, 2019 08:36
-
-
Save angelikatyborska/7f561ab087217b7d3853fb37db81821e to your computer and use it in GitHub Desktop.
Add user that can sudo without a password
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
useradd foo --create-home -G sudo | |
echo 'foo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment