fnselect is used to set the specified naming service to be used to construct the bindings in the FNS Initial Context. This setting affects the entire machine and affects applications that make subsequent calls to fn_ctx_handle_from_initial(3XFN). This setting can be changed only by an administrator who has root privilege on the machine.
When the default option is selected, FNS determines the underlying naming service using the following algorithm:
First, it checks for NIS+ with FNS installed.
If the result is TRUE, then FNS assumes nisplus as the underlying naming service.
Otherwise, it checks if the system is a NIS client.
If TRUE, FNS assumes nis as the underlying naming service.
Otherwise, FNS assumes /etc files.
fnselect without any arguments displays the service currently selected for the Initial Context (one of default, nisplus, nis, or files).
When the -D option is specified and the current setting is default, fnselect will use the algorithm that is used by FNS and display the actual naming service used for the FNS Initial Context.
example% fnselect nisplus
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|