Last active
July 4, 2018 02:30
-
-
Save xiaoysh8/1e59a6c798b41cd1c629f8bfa91f33fa to your computer and use it in GitHub Desktop.
linux group
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
| //Add an Existing User Account to a Group | |
| usermod -a -G examplegroup exampleusername | |
| usermod -a -G sudo geek | |
| //Change a User’s Primary Group | |
| usermod -g groupname username |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment