group(4)
_________________________________________________________________
group File Format
group file
_________________________________________________________________
SYNTAX
/etc/group
DESCRIPTION
Group contains for each group the following information:
⊕ group name
⊕ encrypted password
⊕ numerical group id
⊕ a comma-separated list of all users allowed in the group
This is an ASCII file. The fields are separated by colons; each
group is separated from the next by a newline. If the password
field is null, no password is demanded.
This file resides in the /etc directory. Because of the
encrypted passwords, it can and does have general read permission
and can be used, for example, to map numerical group IDs to
names.
A group file can have a line beginning with a plus sign (+),
which means to incorporate entries from the Yellow Pages (YP).
NOTE:
You must be using the Network File System (NFS) to use this
feature.
There are two styles of + entries: By itself, + means to insert
the entire contents of the YP group file at that point; +name
means to insert the entry (if any) for name from the YP at that
point. If a + entry has a non-null password or group member
field, the contents of that field will override what is contained
in the YP. The numerical group ID field cannot be overridden.
Entries beginning with a minus (-) are also allowed, and have the
format -name, which means to consider name to not be in the group
file, regardless of subsequent entries to the contrary. Minus
entries can be used to exclude specific groups that are present
in the YP group database.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
group(4)
Grpck can be used to verify entries in the group file. See
pwck(1M) in the System Manager's Reference for the DG/UX System.
EXAMPLE
+myproject:::bill, steve
+:
If these entries appear at the end of a group file, then the
group will have members bill and steve and the password and group
ID of the YP entry for the group myproject. All the groups
listed in the Yellow Pages will be pulled in and placed after the
entry for myproject.
FILES
/etc/group
SEE ALSO
setgroups(2), crypt(3C), passwd(1), passwd(4), pwck(1M)
BUGS
The passwd(1) command won't change group passwords.
NOTES
Normally, group-ids less than 100 are reserved for system-level
use (DG/UX software).
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)