Installation guide

Any statically linked application would be affected if it directly or indirectly
calls any of the libc ndbm routines documented in the ndbm
(3) reference
page and then accesses the password database. To remedy this situation,
you must re-link the application. If the mkpasswd -s option is avoided,
you will not see this compatibility problem.
_______________________ Note _______________________
In an NIS environment you can add a user account to either the
local passwd file or the NIS distributed passwd file. Accounts
added to the local passwd file are visible only to the system to
which they are added. Accounts added to the NIS distributed
passwd file are visible to all NIS clients that have access to the
distributed file. Refer to nis_manual_setup
(7) for more
information on adding users in a distributed environment.
9.2.1.2 Adding an Entry to the group File
To add a new group or a user to an existing group, add a line entry to the
group file, as follows:
1. Log in as root and change to the /etc directory.
2. Use the cp command to copy the group file to a temporary file. For
example, enter:
# cp group group.sav
3. Open the group file and add the required line entry. Be sure to include
all four fields in this entry. A file is displayed similar to the following,
which shows that users diaz, kalle, marcy, and chris belong to the
users group that has a GID of 15:
system:*:0:root,diaz,kalle,marcy
daemon:*:1:daemon
uucp:*:2:uucp
.
.
.
users:*:15:diaz,kalle,marcy,chris
4. Close the file.
5. Use the vipw command to edit the passwd file to include the GID in
the
group_id
field of each user who is a member of the group. Refer
to Section 9.2.1.1 for more information about the passwd file.
If at a later date you change the group a user belongs to, be sure to change
the parent directory’s GID also.
Administering User Accounts and Groups 9–11