mkuser command
Purpose
Creates a user account.
Syntax
mkuser [-ldap] [-de | -sr ] [-attr Attributes=Value [ Attribute=Value... ] ] Name
Description
The mkuser command creates a user account. Upon completion of creating an account, you are prompted to set the new account password. User accounts are created with the -attr pgrp=view are designated as read only. These users do not have the authority to change the system configuration and do not have write permission to their home directories.
Flags
| Flag name | Description |
|---|---|
| -attr Attribute=Value | Identifies the attribute to set, as well as
the new value for the attribute. The Attribute=Value parameter
can use one attribute value pair or multiple attribute value pairs
for one -attr flag. For a complete list of supported attributes, see chuser command. |
| -de | Creates a Development Engineer (DE) user account. This type of account allows IBM® developers to log in to the Virtual I/O Server and debug problems. |
| -ldap | Identifies the user as an LDAP user account. LDAP user accounts are authenticated through the LDAP load module. |
| -sr | Creates a service representative (SR) user account. This type of account
enables a service representative to run commands that are required to service the system without
being logged in as root. This includes the following command types:
|
Exit Status
Security
This command can be run only by the prime administrator (padmin) user.
Examples
- To create the davis user account with default values, type
the following command:
mkuser davis - To create the davis user account and set the maxage attribute
to a value of 52, type the following command:
mkuser -attr maxage=52 davis - To create a user with read only authority, type the following
command:
mkuser -attr pgrp=view View1