|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Naming and Directory Services (NIS+)|
When you enable the NIS+ service, the rpc.nisd daemon starts. You don't need any access rights to start the NIS+ daemon, but you should be aware of all its prerequisites and related tasks. They are described in Setting Up NIS+ Root Servers.
Note - The NIS+ service is managed by the Service Management Facility (SMF). Administrative actions on this service, such as enabling, disabling, or restarting, can be performed by using the svcadm command. See NIS+ and the Service Management Facility for more information about using SMF with NIS+. For an overview of the SMF, refer to Chapter 18, Managing Services (Overview), in System Administration Guide: Basic Administration. Also refer to the svcadm(1M) and svcs(1) man pages for more details.
When you enable the NIS+ service, the rpc.nisd daemon starts. Use the svcadm enable command to start the service.
rootmaster# svcadm enable /network/rpc/nisplus:default
When you disable the NIS+ service, the rpc.nisd daemon stops. Use the svcs command to determine the FMRI and the state of the service. Then use the svcadm disable command to stop the service, whether the service is running in normal or NIS-compatibility mode.
rootmaster# svcs \*nisplus\* STATE STIME FMRI online Oct_07 svc:/network/rpc/nisplus:default rootmaster# svcadm disable /network/rpc/nisplus:default
By default, the NIS+ daemon starts with security level 2 and runs in normal mode. If you want to include specific options when you invoke the rpc.nisd daemon with the Service Management Facility, modify the /lib/svc/method/nisplus file to include the desired options. See NIS+ and the Service Management Facility for more information.
Descriptions of some common rpc.nisd syntax options are included in Table 18-3.
Table 18-3 Common rpc.nisd Syntax Options