Your support on Ko-Fi is much appreciated:
Recommended RHCSA book:
📔 Amazon AU: https://amzn.to/2X5FL98
Buy CSG Merchandise:
More information on Sophos Home Antivirus:
More information about Hostinger VPS:
👉 http://bit.ly/H-VPS
Join our new discord channel:
👉 https://discord.gg/kBQ6Jry
This video is based on RHEL 8. Video to cover the section ‘Create, delete, and modify local groups and group memberships’ for the RHCSA (Red Hat Certified System Administrator).
More information on the required learning: http://bit.ly/rhcsa8
Notes from the video:
To create a new group:
# groupadd IT
You can define the Group ID (GID) via -g:
# groupadd -g 3032 IT
You can delete a group using:
# groupdel IT
To update the group name:
# groupmod -n IT IT-Support
To update the group ID (GID) of a group:
# groupmod -g 3033 IT-Support
To add an addtional group to a user account:
# usermod -aG IT-Support user1
To list the group members of a specific group:
# groupmems -l -g IT-Support
To remove a user from a group run:
# gpasswd -d user1 IT-Support