GROUP(F) XENIX System V GROUP(F)
Name
group - Format of the group file.
Description
group contains the following information for each group:
- Group name
- Encrypted password (optional)
- Numerical group ID
- 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. Here is
an example file:
root:x:0:root
cron:x:1:cron
bin:x:3:bin,lp
uucp:x:4:uucp
asg:x:6:asg
sysinfo:x:10:uucp
network:x:12:network
lusers::100:sam,zursch,landy
cpo:CyTvnlPXjOp:50:forbin,kuprin,cleom
An x in the password field represents an unmatchable
password; these groups are not normally joined. If the
password field is empty, no password is demanded by the
newgrp(C) command.
You can add a group password by creating a dummy user
account and putting the encrypted password into the
/etc/group file. (Be sure and remove the dummy account
after you are finished.)
This file resides in directory /etc. 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.
Files
/etc/group
See Also
newgrp(C), passwd(C), passwd(F)
Page 1 (printed 2/7/91)