Last active
August 29, 2015 13:59
-
-
Save ddneat/10891958 to your computer and use it in GitHub Desktop.
ubuntu user managment
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
# https://help.ubuntu.com/10.04/serverguide/user-management.html | |
# adding a user without assistant | |
sudo useradd <username> | |
# adding a user WITH assistant | |
sudo adduser <username> | |
# deleting a user | |
sudo userdel <username> | |
# creating and deleting groups | |
sudo addgroup <groupname> | |
sudo delgroup <groupname> | |
# sudoers-file | |
sudo vim /etc/sudoers | |
# adding a user to a group | |
sudo adduser <username> <groupname> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment