group.4 (2010 09)

g
group(4) group(4)
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
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010