nismkuser Command

Purpose

Creates a new NIS+ user account.

Syntax

nismkuser [ Attribute=Value ... ] Name

Description

The nismkuser command creates a NIS+ user entry in the NIS+ domain. The Name parameter must be a unique 8-byte or less string. You cannot use the ALL or default keywords in the user name. By default, the nismkuser command creates a standard user account. To create an administrative user account, specify the -a flag.

Note: You cannot use the nismkuser command to add users to an NIS+ groups. Use the nisgrpadm command to perform this function.

The nismkuser command will allow the input of the NIS+ user password at the time of user creation.  If no password is given at user creation time, the NIS+ user's LOCAL and DES cred is created with the password nisplus.  Later, passwords may be set or reset with the passwd command.  New accounts are not disabled and are active after the nismkuser command completes.

Notes:
  1. Although this command allows the user to set the "home" directory for the NIS+ user, no actual physical directory is created if the directory does not already exist.
  2. You need to have a group in group.org_dir with the gid that matches the new users gid first before you can add a user. The default gid for nismkuser is 1.

You can use the System Management Interface Tool (SMIT) to run this command (under the NIS+ administration area).

Restrictions on Creating User Names

To prevent login inconsistencies, you should avoid composing user names entirely of uppercase alphabetic characters. While the nismkuser command supports multi-byte user names, it is recommended that you restrict user names to characters with the POSIX portable filename character set.

To ensure that your user database remains uncorrupted, you must be careful when naming users. User names must not begin with a - (dash), + (plus sign), @ (at sign), or ~ (tilde). You cannot use the keywords ALL or default in a user name. Additionally, do not use any of the following characters within a user-name string:

Item Description
. Dot
: Colon
" Double quote
# Pound sign
, Comma
= Equal sign
\ Back slash
/ Slash
? Question mark
' Single quote
` Back quote

Attention: You will not be allowed to create a NIS+ user with the identical name of a pre-existing  NIS+ client or server name.

Finally, the Name parameter cannot contain any space, tab, or new-line characters.

Parameters

Item Description
Attribute=Value Initializes a user attribute. Refer to the html