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