NFS Services Administrator's Guide
Configuring the Name Service Switch
Syntax of the nsswitch.conf File
Chapter 6 273
If a line beginning with one of the lookup_types does not exist in the
/etc/nsswitch.conf file, the default Name Service Switch
configuration for that type of information is used. If the
/etc/nsswitch.conf file does not exist, the default configuration is
used for every type of information. The default Name Service Switch
configuration is described in “Default Configuration” on page 275.
Table 6-2 Types of Lookups Controlled by the Name Service Switch
Keyword Type of Information Represented by Keyword
aliases sendmail aliases stored in the /etc/mail/aliases file, the NIS
mail.aliases and mail.byaddr maps, or the NIS+ mail
_
aliase
s
table.
automount NFS automounter maps stored in files like /etc/auto_master an
d
/etc/auto_home, NIS maps like auto.master and auto.home, or
NIS+ tables like auto_master and auto_home.
group Information about HP-UX groups stored in the /etc/group file, th
e
NIS group.bygid and group.byname maps, or the NIS+ group ta
b
hosts Host names and IP addresses stored in the /etc/hosts file, the N
I
hosts.byaddr and hosts.byname maps, or the NIS+ hosts table.
netgroup NFS netgroups stored in the /etc/netgroup file, the NIS netgrou
p
netgroup.byhost and netgroup.byuser maps, or the NIS+ netgr
o
table.
networks Network names and IP addresses stored in the /etc/networks fil
e
the NIS networks.byaddr and networks.byname maps, or the NI
S
networks table.
passwd User login information stored in the /etc/passwd file, the NIS
passwd.byname and passwd.byuid maps, or the NIS+ passwd tabl
e
protocols Networking protocol names and numbers stored in the
/etc/protocols file, the NIS protocols.byname and
protocols.bynumber maps, or the NIS+ protocols table.
publickey Secure RPC credentials stored in the /etc/publickey file, the NI
S
publickey.byname map, or the NIS+ cred table.
rpc RPC program names and numbers stored in the /etc/rpc file, the
NIS rpc.byname and rpc.bynumber maps, or the NIS+ rpc table.