Uncomments the entry in the /etc/rc.nfs file for the nis_cachemgr daemon and invokes the daemon by using the startsrc command.
The mk_niscachemgr command uncomments the entry in the /etc/rc.nfs file for the nis_cachemgr daemon. The mk_niscachemgr command starts the daemon by using the startsrc 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.
Item | Description |
---|---|
-I | Uncomments the entry in the /etc/rc.nfs file to start the nis_cachemgr daemon on the next system restart. |
-B | Uncomments the entry in the /etc/rc.nfs file to start the nis_cachemgr daemon and uses the startsrc command to start the nis_cachemgr daemon. This flag is the default. |
-N | Uses the startsrc command to start the nis_cachemgr daemon. This flag does not change the /etc/rc.nfs file. |
mk_niscachemgr -I
Item | Description |
---|---|
/etc/rc.nfs | Contains the startup script for the NFS and NIS daemons. |