Data ONTAP uses the /etc/nsswitch.conf file to determine the order of search.
If the nsswitch.conf file does not already exist in the /etc directory, Data ONTAP creates a default nsswitch.conf file when NIS is enabled on your filer. The contents of the default nsswitch.conf file are as follows:
hosts: files nis dns
passwd: files nis
netgroup: files nis
group: files nis
shadow: files nis
Note
All entries in the nswitch.conf file except hosts pertain to user information maintenance. For information about the hosts map, see the Data ONTAP Network Administration Guide.
The default nsswitch.conf file searches for user information in the following order:
To change the order in which Data ONTAP searches for user information, complete the following steps.
| 1 | |
| 2 |
Each line in the file must be in the following format: map: service ...
map is one of the following: passwd, netgroup, group, shadow. |
| 3 |
The following example shows an nsswitch.conf file. According to the search order specified in this file, Data ONTAP searches for user information (user name, password, and groups) using only NIS. However, Data ONTAP also looks up information in the /etc/netgroup file for the network groups if the NIS lookup fails.
passwd: nis
group: nis
netgroup: nis files
shadow: nis
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00322
File: useraut8.htm
Last updated: 01/22/03 16:17:07