rmkeyserv Command

Purpose

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

Syntax

/usr/sbin/rmkeyserv-I | -B | -N ]

Description

The rmkeyserv command comments the entry for the keyserv daemon in the /etc/rc.nfs file. The rmkeyserv daemon stops the keyserv daemon by using the stopsrc command.

You can use the File Systems application in Web-based System Manager (wsm) to change file system characteristics.

You could also use the System Management Interface Tool (SMIT) smit rmkeyserv fast path to run this command.

Flags

Item Description
-I Comments the entry for the keyserv daemon in the /etc/rc.nfs file.
-B Comments the entry for the keyserv daemon in the /etc/rc.nfs file and stops the keyserv daemon. This flag is the default.
-N Stops the keyserv 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 keyserv daemon, enter:

rmkeyserv -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.