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
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- 10 Greatest Open Source Software Of 2009
- My 10 UNIX Command Line Mistakes
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
- Email this to a friend
- Download PDF version
- Printable version
- Comment RSS feed
- Last Updated: Mar/16/2006


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