Steps to create usergroup in Linux (CentOS7)

kumkumsharma

Administrator
Staff member
  • For that first you have to create group with the help of groupadd command.
Code:
sudo groupadd NAME-OF-THE-NEW-GROUP
  • Now you have to use usermod command from which we can add user to that group.
Code:
usermod -a -G wheel username
NOTE: Here you have to replace username with actual username.
 
Top