Created
October 24, 2014 11:29
-
-
Save pauldonnelly/2bd5d40589c16a245766 to your computer and use it in GitHub Desktop.
Add a new user with root access
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 useradd -G GROUPNAME USERNAME | |
sudo passwd USERNAME | |
Enter Password | |
Repeat Password | |
sudo adduser USERNAME root | |
Add to multiple groups | |
useradd -G foo,bar,foobar USERNAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment