Solaris Naming Administration Guide

How to Set Preferences on a Local Machine

To assign server preferences for the local machine that you are running the nisprefadm command on:

    Run nisprefadm with the -L option and either the -a or -u options.

#nisprefadm -a -L servers(preferences)

Where servers(preferences) are one or more servers with optional preference ranking numbers.

For example, to specify that the deneb machine first seek NIS+ information from the replica3 server with a default preference number of zero and then from the replica6 server (with a preference number of 1) in the domain:

deneb# nisprefadm -a -L replica3 replica6.manf(1)