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

rpc.nisd Daemon

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.

Starting the rpc.nisd Daemon

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

Stopping the rpc.nisd Daemon

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

Changing rpc.nisd Syntax Options

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




Specifies that the daemon run in NIS-compatibility mode, which enables it to answer requests from NIS clients. You can start the NIS+ daemon in NIS-compatibility mode in any server, including the root master. 


Adds DNS forwarding capabilities to an NIS+ daemon running in NIS-compatibility mode. This option requires that the /etc/resolv.conf file be set up for communication with a DNS nameserver. 

-S security-level

Specifies a security level, where 0 means no NIS+ security and 2 provides full NIS+ security. (Level 1 is not supported.)


Forces a checkpoint of the directory served by the daemon. This has the side effect of emptying the directory's transaction log and freeing disk space.