Network Information Service (NIS) B.11.31.04 Administrator's Guide
0
is the numerical user ID.
3
is the numerical group ID.
is a field that contains user information; such as name, office
location, address, and phone number. In the sample /etc/
passwd file, this field is empty.
/
is the initial working directory.
/bin/ksh
is the program to use as the shell prompt.
NOTE: Back up the /etc/passwd file before modifying it.
Remove all users from the /etc/passwd file, except the superuser, users with
administrative privileges, and system entries required for the system to boot and
function properly. System entries have user IDs less than 100.
The changes made to the /etc/passwd file on an NIS slave server must be identical
to the changes made to the /etc/passwd file on an NIS client.
For more information, see passwd (4).
Modifying Slave Server group File
This section describes how to modify the /etc/group file in the NIS slave server.
Modifying the /etc/group file in the NIS slave server is optional. Modifying the NIS
slave server /etc/group file enables the host running the NIS slave server to use the
information in the NIS maps to validate group login information using the configured
NIS domain instead of the local group file. If you do not modify the local group file,
only users defined in the local /etc/group file can log into the host. The users defined
in the NIS maps are not recognized.
Following is a sample /etc/group file on an NIS slave server:
root::0:rootl,sam
other::1:
bin::2:
sys::3:
adm::4:
daemon::5:
mail::6:
lp::7:
where:
root
is the login name.
is a field for encrypted password. In the sample /etc/group file, this
field is empty.
0
is the numerical group ID.
rootl,sam
is a comma-separated list of all users allowed in a group.
For more information, see group (4).
46 Configuring and Administering an NIS Slave Server