Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Naming and Directory Services (NIS+) |
Part I About Naming and Directory Services
Part II NIS+ Setup and Configuration
4. Configuring NIS+ With Scripts
5. Setting Up the NIS+ Root Domain
8. Configuring an NIS+ Non-Root Domain
10. NIS+ Tables and Information
12. Administering NIS+ Credentials
14. Administering Enhanced NIS+ Security Credentials
15. Administering NIS+ Access Rights
16. Administering NIS+ Passwords
18. Administering NIS+ Directories
20. NIS+ Server Use Customization
Default NIS+ Client Search Behavior
Designating NIS+ Preferred Servers
NIS+ Global Table or Local File
Default NIS+ Server Preferences
Efficiency and NIS+ Server Preference Numbers
Preferred-Only NIS+ Servers and All Servers
When NIS+ Server Preferences Take Effect
Viewing NIS+ Machine Preferences
How to View Preferences for an NIS+ Server
How to View Preferences for an NIS+ Machine
How to View Global Preferences for an NIS+ Machine
How to View Global Preferences for an NIS+ Subnet
Specifying NIS+ Preference Rank Numbers
Specifying NIS+ Global Server Preferences
How to Set Global Preferences for an NIS+ Subnet
How to Set Global Preferences for an Individual NIS+ Machine
How to Set Global Preferences for a Remote NIS+ Domain
Specifying Local NIS+ Server Preference
How to Set Preferences on a Local NIS+ Machine
Modifying NIS+ Server Preferences
How to Change an NIS+ Server's Preference Number
How to Replace One NIS+ Server With Another in a Preference List
How to Remove NIS+ Servers From Preference Lists
Replacing an Entire Preferred Server List in NIS+
Specifying Preferred-Only Servers in NIS+
How to Specify Preferred-Only Servers in NIS+
How to Revert to Using Non-Preferred Servers in NIS+
Ending Use of Server Preferences in NIS+
Eliminating Local Server Preferences in NIS+
How to Switch From Local to Global Subnet Preferences in NIS+
How to Switch From Local to Machine-Specific Global Preferences in NIS+
How to Stop a Machine From Using Any Server Preferences in NIS+
Putting NIS+ Server Preferences Into Immediate Effect
23. Information in NIS+ Tables
Common NIS+ Namespace Error Messages
The following sections describe how to use the nisprefadm command to set, modify, and delete server preferences.
The nisprefadm command is used to specify the servers that clients are to prefer. The nisprefadm command has the following syntax:
nisprefadm -a|-m|-r|-u|-x|-l -L|-G [-o type] \ [-d domain] [-C machine] \ servers nisprefadm -F
Table 20-1 nisprefadm Command Options
|
Note - The -C machine option should not be used with the -L (local) flag because it has no effect. For example, suppose you are running nisprefadm on the altair machine. You use the -L flag to specify that the preferences you are specifying be written into altair's local client_info file. You also use a -C vega option to specify that the preferences you are creating be applied to the vega machine. The nisprefadmcommand then write your preferences for vega into altair's file. But vega will never see them because vega will always get its server preferences from either its own local client_info file or the domain's global client_info table. Thus, it only makes sense to use the -C option when running nisprefadm with the -G (global) flag.