NFS Services Administrator's Guide
Configuring and Administering NIS
Configuring and Administering an NIS Slave Server
Chapter 4 175
uucp:*:5:3::/usr/spool/uucppublic:/usr/lib/uucp/uucico
lp:*:9:7::/usr/spool/lp:/bin/sh
hpdb:*:27:1:ALLBASE:/:/bin/sh
+::-2:60001:::
For more information, type man 4 passwd at the HP-UX prompt.
To Edit the Slave Server’s group File
• Remove all groups from the /etc/group file except the group entries
required for your system to boot.
• The Name Service Switch configuration file provided for NIS
(/etc/nsswitch.nis) causes your host to check its local /etc/group
file and then continue to the NIS group map if the requested
information is not in the local file. However, in previous releases, you
had to add a plus sign (+) to the /etc/group file to cause your host to
check the NIS group database.
If you want your host to behave as it did before HP-UX release 10.30,
add the following entry as the last line in the /etc/group file:
+:*:*
Also, make sure your /etc/nsswitch.conf file specifies compat as
the name service for group. See “Configuring the Name Service
Switch” on page 267.
The plus sign (+) causes processes to consult NIS for any group
information not found in the local /etc/group file. The asterisk (*)
in the password field prevents people from using the plus sign as a
valid group name if NIS is not running.
The changes you make to the /etc/group file on an NIS slave server are
the same changes you make on an NIS client. Following is an example
/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:
+:*:*
For more information, type man 4 group at the HP-UX prompt.