Stops the nis_cachemgr daemon and comments the entry in the /etc/rc.nfs file.
rm_niscachemgr [ -I | -B | -N]
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:
- 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.
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.
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.
/etc/rc.nfs | Contains the startup script for the NFS and NIS daemons. |
The smit command
The nis_cachemgr daemon.
Network Information Service (NIS+) in AIX 5L Version 5.1 Network Information Services (NIS and NIS+) Guide
Network File System (NFS) Overview for System Management in AIX 5L Version 5.1 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 5L Version 5.1 Network Information Services (NIS and NIS+) Guide
For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.1 Web-based System Manager Administration Guide.
System
Management Interface Tool (SMIT) Overview in AIX 5L Version
5.1 Network Information Services (NIS and NIS+) Guide