Uncomments the entry in the /etc/rc.nfs file for the rpc.nisd daemon and invokes the daemon by using the startsrc command.
/usr/sbin/mk_nisd [ -I ] | [ -B ] | [ -N ] [ -s ] [ -y ] [ -b ]
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.
|-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 -B -s
|/etc/rc.nfs||Contains the startup script for the NFS and NIS daemons.|
The smit command and the startsrc command.
The rpc.nisd daemon.
Network Information Services+ (NIS+) Overview for System Management in AIX 5L Version 5.1 Network Information Services (NIS and NIS+) Guide.
System Management Interface Tool (SMIT): Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.
Network File System (NFS) Overview for System Management in AIX 5L Version 5.1 System Management Guide: Communications and Networks.
How to Start and Stop the NIS+ Daemons in AIX 5L Version 5.1 Network Information Services (NIS and NIS+) Guide and How to Export a File System Using Secure NFS in AIX 5L Version 5.1 System Management Guide: Communications and Networks.
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.