System Administration Guide: Naming and Directory Services (NIS+)

ProcedureHow to Set Preferences on a Local NIS+ Machine

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

  1. 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 manf.doc.com domain:


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