account create

Creates an administration account.

Unless you specify pools for the administrator to manage or read-only privilege, the account will be a group administrator account with the ability to manage the entire group and all pools.

When you create an account, you will be prompted for an account password. An account password must be between 3 and 16 alphanumeric characters and is case-sensitive. (Only the first 8 characters are validated).

Format

account create account_name [parameter ...]

Note: The request for an account password is handled separately from the command line input. You will be prompted for a password and to confirm the password. The password is not displayed on the screen.

Variable

account_name

Account name, up to 64 alphanumeric characters. Valid characters include letters, numbers, dot, hyphen, and underscore. First character must be a letter or number.

Names are not case-sensitive. For example, ADMIN and admin are treated as the same name.

Parameters 

description text

Description of the account, up to 128 alphanumeric characters. If the text variable contains spaces, surround it with quotation marks.

permission

Sets the account permission as follows:

read-write — (Default). User can log in and change anything in the group or the pool (for a pool administrator).

read-only — User can display group information but cannot change it.

group-read-access — Allows pool administrators to see all the objects (for example, pools, members, and volumes) in the entire group, but change only the objects in their pools.

enable | disable

Enables or disables the account.

contact name

Name of the person responsible for the account, up to 64 alphanumeric characters. If the name variable contains spaces, surround it with quotation marks (for example, "M Chen").

email email_address

E-mail address, up to 32 alphanumeric characters, for the person responsible for the account.

phone phone_number

Telephone number, up to 32 alphanumeric characters, for the person responsible for the account.

mobile phone_number

Mobile (cell phone) number, up to 32 alphanumeric characters, of the person responsible for the account.

pool-admin list

Limits this account to manage the pools (and objects therein) specified in the list. Pool names must be separated by commas only (no spaces).

To allow the pool administrator to see other objects in the group, also specify the group-read-access parameter.

Examples

The following command creates a group administration account:

> account create admin21

Enter password: 

Retype password: 

Account creation succeeded.

The following command creates a pool administration account that can manage the objects in the default and dbase pools:

> account create userbob pool-admin default,dbase

Enter password: 

Retype password: 

Account creation succeeded.

The following command creates a pool administration account that can manage the objects in the pool2 pool, and can see all other objects in the group:

>  account create kristen pool-admin pool2 group-read-access

Enter password:

Retype password:

Account creation succeeded.