Last active
February 16, 2019 17:05
-
-
Save cinco/fe574bd202af3c087ea1 to your computer and use it in GitHub Desktop.
useradd linux command line
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 -m -d /home/mike1 -s /bin/bash -c "the mike1 user" -U mike1 |
sudo useradd -a -G groupname username
#archlinux
gpasswd -a user group
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo adduser username sudo