[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 4

rm_niscachemgr Command

Purpose

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

Syntax

rm_niscachemgr [ -I | -B | -N]

Description

The rm_niscachemgr command comments the entry for the nis_cachemgr daemon in the /etc/rc.nfs file. The rm_niscachemgr daemon stops the nis_cachemgr 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:

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

-I Comments the entry for the nis_cachemgr daemon in the /etc/rc.nfs file.
-B Comments the entry for the nis_cachemgr daemon in the /etc/rc.nfs file and stops the nis_cachemgr daemon. This flag is the default.
-N Stops the nis_cachemgr daemon using the stopsrc command. This flag does not change the /etc/rc.nfs file.
Note: An important effect of running this command is that the domain name of the NIS+ environment will be reset to NULL. It is assumed that if the administrator turns off the nis_cachemgr, the NIS+ configuration is no longer active. By resetting the domain name, unnecessary lookups are prevented. If the administrator does not desire this effect, they should run chypdom after rm_niscachemgr has been run.

Examples

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

Files

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

Related Information

The smit command

The nis_cachemgr daemon.

Network Information Service (NIS+) in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide

Network File System (NFS) Overview for System Management in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide

How to Start the NFS Daemons, How to Stop the NFS Daemons, How to Export a File System Using Secure NFS, How to Mount a File System Using Secure NFS in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide

Setting up and running Web-based System Management in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide

System Management Interface Tool (SMIT) Overview in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide

NIS+ Reference.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]