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

Viewing NIS+ Machine Preferences

ProcedureHow to View Preferences for an NIS+ Server

To view current server preferences, run nisprefadm with the -l option.

  1. Run nisprefadm with the -l option.


    sirius# nisprefadm -l
    

ProcedureHow to View Preferences for an NIS+ Machine

  1. Run nisprefadm with the -L and -l options on the machine.


    sirius# nisprefadm -L -l
    

    This displays any server preferences defined in the machine's local /var/nis/client_info file. If there is no local file, no information is displayed and you are returned to your shell prompt.

ProcedureHow to View Global Preferences for an NIS+ Machine

  1. Run nisprefadm with the -l, -G and -C machinename options.


    sirius# nisprefadm -G -l -C machinename
    

    Where machinename is the IP address (number) of the machine.

    This displays the preferences set in the domain's global client_info table for that machine.

ProcedureHow to View Global Preferences for an NIS+ Subnet

  1. Run nisprefadm with the -l, -G and -C subnet options.


    sirius# nisprefadm -G -l -C subnet
    

    Where subnet is the IP address (number) of the subnet.

    This displays the preferences set in the domain's global client_info table for that machine.