Linux – Group Managment (addgroup, delgroup, adduser, deluser)

Managing Groups in Linux is relatively simple. It’s important to realize Linux users, groups and permissions are much simpler than in Windows Server.

Group Configuration File

  • sudo vim /etc/group – opens Group configuration file in read only mode (:q to quit)

Add Group

  • sudo addgroup GROUPNAME – adds group

Delete Group

  • sudo delgroup GROUPNAME – deletes group

Add Users to Group

  • sudo adduser USERNAME GROUPNAME – adds user to group

Delete Users from Group

  • sudo deluser USERNAME GROUPNAME – deletes user from group

Be the first to comment

Leave a Reply