The nsswitch.conf File
The nsswitch.conf File
Next: SSH Up: NIS+ Requirements Previous: NIS+, keylogin, login and
The nsswitch.conf File
The Network Services switch file /etc/nsswitch.conf determines the order of lookups performed when a certain piece of information is requested, just like the /etc/host.conf file which determines the way host lookups are performed. For example, the line
hosts: files nisplus dnsspecifies that host lookup functions should first look in the local /etc/hosts file, followed by a NIS+ lookup and finally through the domain name service (/etc/resolv.conf and named), at which point if no match is found an error is returned.
2005-05-04