Solaris adding group
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
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Solaris adding new user accounts
- Solaris > Add / Install new software packages
- Linux password/group file checkers
- Question: The Difference between Sun OS and Solaris
- Sun to update Solaris 10 by year end
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Today ~ 10 Comments
Today ~ 3 Comments
Today ~ 7 Comments
Today ~ 4 Comments
Today ~ 8 Comments