[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 3

mk_nisd Command

Purpose

Uncomments the entry in the /etc/rc.nfs file for the rpc.nisd daemon and invokes the daemon by using the startsrc command.

Syntax

/usr/sbin/mk_nisd-I ] | [ -B ] | [ -N ] [ -s ] [ -y ] [ -b ]

Description

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:

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.

Flags

-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.

Examples

  1. To modify the /etc/rc.nfs file to invoke the rpc.nisd daemon on the next system-restart, enter:
    mk_nisd -I
  2. To start the rpc.nisd daemon without DES authentication and to modify the /etc/rc.nfs file to invoke the rpc.nisd daemon without DES authentication upon reboot:
    mk_nisd -B -s

Files

/etc/rc.nfs Contains the startup script for the NFS and NIS daemons.

Related Information

The smit command and the startsrc command.

The rpc.nisd daemon.

Network Information Services+ (NIS+) Overview for System Management in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide.

System Management Interface Tool (SMIT): Overview in AIX Version 4.3 System Management Concepts: Operating System and Devices.

Network File System (NFS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.

How to Start and Stop the NIS+ Daemons in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide and How to Export a File System Using Secure NFS in AIX Version 4.3 System Management Guide: Communications and Networks.

Setting up and running Web-based System Manager in AIX Version 4.3 System Management Guide: Operating System and Devices.

NIS+ Reference.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]