HP-UX Reference (11i v2 04/09) - 4 File Formats (vol 8)

g
group(4) group(4)
There is no single tool available to completely ensure that
/etc/passwd, /etc/group, and
/etc/logingroup
are compatible. However, pwck and grpck can be used to simplify the task (see
pwck(1M)).
There is no tool for setting group passwords in
/etc/group.
DEPENDENCIES
NIS
EXAMPLES
Here is a sample
/etc/group file:
other:*:1:root,daemon,uucp,who,date,sync
-oldproj
bin:*:2:root,bin,daemon,lp
+myproject:::bill,steve
+:
Group other has a gid of 1 and members
root, daemon, uucp, who, date, and sync. The group
oldproj is ignored since it appears after the entry
-oldproj. Also, the group myproject has
members
bill and steve, and the password and group
ID of the NIS entry for the group myproject.
All groups listed in the
NIS are pulled in and placed after the entry for
myproject.
WARNINGS
The plus (
+) and minus (-) features are part of NIS. Therefore if
NIS is not installed, these features can-
not work.
FILES
/etc/group
/etc/logingroup
SEE ALSO
groups(1), newgrp(1), passwd(1), setgroups(2), crypt(3C), getgrent(3C), initgroups(3C), passwd(4).
STANDARDS CONFORMANCE
group: SVID2, SVID3, XPG2
HP-UX 11i Version 2: September 2004 2 Hewlett-Packard Company Section 4133