Network Information Service (NIS) B.11.31.02 Administrator's Guide

Also, make sure your /etc/nsswitch.conf file specifies compat as the name service for
passwd.
The plus sign (+) causes processes to consult NIS for any user information not found in the
local /etc/passwd file.
For more information about the entries in the /etc/passwd file, see passwd(4).
CAUTION: An asterisk (*) in the password field prevents all NIS users from logging in
when NIS is running.
Following is an example /etc/passwd file on an NIS slave server:
root:0AnhFBmriKvHA:0:3::/:/bin/ksh
daemon:*:1:5::/:/bin/sh
bin:*:2:2::/bin:/bin/sh
adm:*:4:4::/usr/adm:/bin/sh
uucp:*:5:3::/usr/spool/uucppublic:/usr/lib/uucp/uucico
lp:*:9:7::/usr/spool/lp:/bin/sh
hpdb:*:27:1:ALLBASE:/:/bin/sh
+::::::
For more information, type man 4 passwd at the HP-UX prompt.
Editing the passwd File for Compat Mode
HP recommends you to 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.
The plus sign (+) causes processes to consult NIS for any group information not found in
the local /etc/group file.
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 client:
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.
56 Using NIS in Compat Mode