rm_nisd Daemon

Purpose

Stops the rpc.nisd daemon and comments the entry in the /etc/rc.nfs file.

Syntax

rm_nisd [ -I | -B | -N]

Description

The rm_nisd daemon comments the entry for the rpc.nisd daemon in the /etc/rc.nfs file. The rm_nisd daemon stops the rpc.nisd daemon by using the stopsrc command.

Note: The mk_nisd, mk_cachemgr, mk_nispasswdd, rm_nisd, rm_cachemgr, and rm_nispasswdd commands do two things:
  • Alter the entries of daemon startup calls in /etc/rc.nfs.
  • Alter the default behavior of the daemon src entities.

For example, if the rpc.nisd daemon is supposed to start with the -Y flag, this will not be explicitly set in the /etc/rc.nfs entry for starting the rpc.nisd daemon. Instead, a chssys is executed to place the default options which are added (if any) to the daemons during startup. To verify that these options exist, use the lssrc -S -s subsystem command to show the default options.

Flags

Item Description
-I Comments the entry for the rpc.nisd daemon in the /etc/rc.nfs file.
-B Comments the entry for the rpc.nisd daemon in the /etc/rc.nfs file and stops the rpc.nisd daemon. This flag is the default.
-N Stops the rpc.nisd daemon using the stopsrc command. This flag does not change the /etc/rc.nfs file.

Examples

To comment the entry in the /etc/rc.nfs file that starts the rpc.nisd daemon, enter:
rm_nisd -I
This command will not stop the currently executing daemon.

Files

Item Description
/etc/rc.nfs Contains the startup script for the NFS and NIS daemons.