Installing and Administering Internet Services
Chapter 2 33
Installing and Configuring Internet Services
Configuring the Name Service Switch
Switch configuration: Terminates Search
As an optional third argument to nsquery, you can supply a Name
Service Switch configuration in double quotes, as in the following
example:
# /usr/contrib/bin/nsquery passwd 30 "files nis"
Using "files nis" for the passwd policy.
Searching /etc/passwd for 30
User name: www
User ID: 30
Group ID: 1
Gecos:
Home Directory: /
Shell:
Switch configuration: Terminates Search
For more information, type man 1 nsquery at the HP-UX prompt.