mkclient Command

Purpose

Uncomments the entry in the /etc/rc.nfs file for the ypbind daemon and starts the ypbind daemon to configure a client.

Syntax

/usr/sbin/mkclient [ -I | -B | -N ] [ -S server]

Description

The mkclient command uncomments the entry to the /etc/rc.nfs file to start the ypbind daemon to configure a client. The mkclient command starts the ypbind daemon by using the appropriate System Resource Controller (SRC) command.

You can use the File Systems application in Web-based System Manager (wsm) to change file system characteristics.

You could also use the System Management Interface Tool (SMIT) smit mkclient fast path to run this command.

Flags

Item Description
-I Uncomments the entry for starting the ypbind daemon to the /etc/rc.nfs file. This entry causes the ypbind daemon to start during the next system restart.
-B Uncomments the entry to the /etc/rc.nfs file and starts the ypbind daemon. This flag is the default.
-N Causes the startsrc command to start the ypbind daemon. This flag does not affect the /etc/rc.nfs file.
-S Specifies which NIS server to use instead of broadcasting for one. This option must be used when no NIS server exists on the networks directly connected to the client machine.

Examples

To modify the /etc/rc.nfs file so that the ypbind daemon is started on the next system restart, enter:

mkclient -I

Files

Item Description
/var/yp/domainname directory Contains the NIS maps for the NIS domain.
/etc/rc.nfs Contains the startup script for the NFS and NIS daemons.