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

Viewing Current Server Preferences

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

How to View Preferences for a Machine

    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.

How to View Global Preferences for Single Machine

    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.

How to View Global Preferences for a Subnet

    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.