Creating a new group

To create a new group, open /etc/group in a text editor, then add a line that specifies the new group's name, ID, and members.

For example:

techies:x:101:michel,jim,sue

For more information about the fields, see "/etc/group," earlier in this chapter.

CAUTION:
Do this work at a time when the system is idle. As your text editor writes the /etc/group file back, any application or utility that's trying to simultaneously read the /etc/group file (e.g ls -l, newgrp) might not function correctly.