Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 437 #463
i
i
i
i
i
i
i
i
21
Linux in the Network
Example 21.9: /etc/nsswitch.conf
passwd: compat
group: compat
hosts: files dns
networks: files dns
services: db files
protocols: db files
netgroup: files
automount: files nis
The “databases” available over NSS are listed in Table 21.6. In addition,
automount, bootparams, netmasks, and publickey are expected in
the near future. The configuration options for NSS databases are listed in
Table 21.7 on the following page.
Table 21.6: Databases Available via /etc/nsswitch.conf
aliases Mail aliases implemented by sendmail; see
man 5 aliases.
ethers Ethernet addresses.
group For user groups, used by getgrent. See also the
man page for group.
hosts For host names and IP addresses, used by
gethostbyname and similar functions.
netgroup Valid host and user lists in the network for the
purpose of controlling access permissions; see
man 5 netgroup.
networks Network names and addresses, used by
getnetent.
passwd User passwords, used by getpwent; see man 5
passwd.
protocols Network protocols, used by getprotoent; see
man 5 protocols.
rpc Remote procedure call names and addresses,
used by getrpcbyname and similar functions.
437SUSE LINUX Enterprise Server