You can stop using server-use customization and revert to the obtaining NIS+ information as described in Default Client Search Behavior.
To end server preferences, run nisprefadm with the -x option.
When you end server preferences, clients do not stop using server preferences until the normal course of events as described When Server Preferences Take Effect. You can force an immediate end to server preferences as described inPutting Server Preferences Into Immediate Effect.
Run nisprefadm with the -G and -x options.
#nisprefadm -G -x |
This eliminates global server preferences.
Client machines that do not have local server preferences will obtain NIS+ information as described in Default Client Search Behavior.
Client machines that do have local server preferences set by a local /var/nis/client_info file will continue to use servers as specified in that file.
Ending local preferences can mean one of three different things:
That you want the machine to stop using its local client_info file for its server preferences and start using the preferences set for its subnet in the domain's global client_info table.
That you want this machine to stop using its local client_info file for its server preferences and start using the preferences set for it specifically in the domain's global client_info table.
That you do not want the machine to use server preferences at all. When a machine does not use server preferences, it obtains NIS+ information as described in Default Client Search Behavior.
Remove the machine's /var/nis/client_info file.
# rm /var/nis/client_info |
This causes the machine to use the preferences specified for the machine's subnet in the domain's global client_info table.
Remove the machine's /var/nis/client_info file.
# rm /var/nis/client_info |
Specify preferences for the machine in the global table using the -G and -C options.
See How to Set Global Preferences for an Individual Machine.
Remove the machine's /var/nis/client_info file.
# rm /var/nis/client_info |
If the machine's domain does not have a global client_info table, this step is all you have to do. If the domain does have a client_info table, continue on to the next step.
Create an empty /var/nis/client_info file.
# touch /var/nis/client_info |
When a machine has its own /var/nis/client_info file, it does not use global preferences from any client_info table. If the machine has an empty /var/nis/client_info file, it will not use any preferences at all and will obtain NIS+ information, as described in Default Client Search Behavior.