You are on page 1of 1

Important Files

/etc/passwd
-all the user's configuration
/etc/group
-all the group configuration
USER MANAGEMENT
--------------useradd [options] username
userdel [-r] username
usermod
GROUP
------------groupadd
groupmod
groupdel
Adding a user to Group
---------------------sudo gpasswd -a user1 admin
Removing a user from Group
-------------------------sudo gpasswd -d user1 admin
Changing the ownership of a file
--------------------------------chown user:group filename

You might also like