Uncomments the entry in the /etc/rc.nfs file for the rpc.nisd daemon and invokes the daemon by using the startsrc command.
The mk_nisd command uncomments the entry in the /etc/rc.nfs file for the rpc.nisd daemon. The mk_nisd 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 rpc.nisd daemon on the next system-restart. |
-B | Uncomments the entry in the /etc/rc.nfs file to start the rpc.nisd daemon and uses the startsrc command to start the rpc.nisd daemon. This flag is the default. |
-N | Uses the startsrc command to start the rpc.nisd daemon. This flag does not change the /etc/rc.nfs file. |
-s | Starts the rpc.nisd with no DES authentication. If this flag is not used, the default rpc.nisd behavior is to always start with DES authentication. The -s option is used to make the rpc.nisd compatible with NIS(YP) clients. |
-y | Causes the rpc.nisd daemon to emulate a NIS(YP) service. This is not the default setting of rpc.nisd or mk_nisd. |
-b | Causes the rpc.nisd daemon to emulate the NIS(YP) DNS resolver service.
This is not the default setting of rpc.nisd or mk_nisd.
Note: The settings that result from using the -a, -y, and -b flags remain the default behavior of rpc.nisd after a system reboot if the -I or -B flags were used. The only way to restore settings is by executing rm_nisd and then executing mk_nisd once again. |
mk_nisd -I
mk_nisd -B -s
Item | Description |
---|---|
/etc/rc.nfs | Contains the startup script for the NFS and NIS daemons. |