hi all today we are going to see group management in centOS.
here i give u some commands that may be useful to u for practice.
in linux there are 2 groups
1. primary group
2. secondary group
we will see how to create secondary group.
1.groupadd groupname - to create a group
2.gpasswd groupname - to set group password.
3.gpasswd -a username groupname - to add any user to a particular group.
4.gpasswd -d username groupname - to remove a particular user from a group.
5.groupmod -n "newname" groupname - to change the groupname.
6.groupmod -g newgroupid groupname - to change group id to new id.
7.groupdel groupname - to delete a group.
8. usermod -aG groupname username - to add user in a group.
i hope you will understand some basics about group management.
thanks... bye...❤
telegram:@noobkiddie