You can use GUI tools or command line tools. I like to use command line tools for group admin. Use groupadd command to add (create) a new group definition on the system. Use groupmod command to modify a group definition on the system.
Adding new group
Use groupadd command to add group called pusers:
# groupadd pusers
Create a group called sshusers with GID 500:
# groupadd –g 500 sshusers
Add new user volini to group sshusers:
# useradd –d /nas/home/v/volini -m volini
Add existing user rose to group sshusers:
# usermod -G pusers rose
Rename group
Change the name sshusers to ftpusers:
# groupmod -n ftpusers sshusers
Delete the group
Remove the group called foxadmin
# groupdel foxadmin
If you manually modified the /etc/group file then you can check any group file inconsistencies with grpck command:
# vi /etc/group
# grpck
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop











{ 2 comments… read them below or add one }
Very helpful. Good reference.
good reference indeed sir! thanks for saving me some time!