account select
Displays or modifies an account.
You cannot modify the name of an account. Instead, you must delete the account and then add it with the new name.
Format
account select account_name parameter ...
Variable
|
account_name
|
Name of an account.
|
Parameters
|
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").
|
|
description text
|
Description of the account, up to 128 alphanumeric characters. If the text variable contains spaces, surround it with quotation marks.
|
|
disable
|
Disables the account.
|
|
email email_address
|
E-mail address, up to 32 alphanumeric characters, for the person responsible for the account.
|
|
enable
|
Enables the account.
|
|
group-admin
|
Changes the account to the group administrator permission level (enables the account to manage the group and all pools and objects in the pools).
|
|
mobile phone_number
|
Mobile (cell phone) number, up to 32 alphanumeric characters, for the person responsible for the account.
|
|
passwd
|
Password for the account.
Do not enter a password on the command line. Instead, enter a password (and confirmation) when you are prompted. The password must be between 3 and 16 alphanumeric characters and is case-sensitive. (Only the first 8 characters are validated). Neither your password nor your confirmation will be displayed on the screen.
If you enter an invalid password, you will be given a chance to correct your entry. If your second entry is still incorrect, the password routine will exit.
|
|
phone phone_number
|
Telephone number, up to 32 alphanumeric characters, for the person responsible for the account.
|
|
pool-admin list
|
Changes the account to the pool administrator permission level, for the specified list of pools. Pool names must be separated by commas only (no spaces).
|
|
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.
|
|
show
|
Displays detailed information about the account.
|
Examples
The following command modifies the password for the grpadmin account:
> account select grpadmin passwd
Enter New Password:
Retype Password:
Passwords are not echoed on the screen.
The following command specifies a description and contact information for an account:
> account select monitor
(account_monitor)> description "admin rd-only account"
(account_monitor)> email chen@cust.com
The following command displays details about the monitor account:
> account select monitor show
_______________________ Account Information _______________________
Name: monitor Description: admin rd-only account
Permission: read-only Status: enable
Contact: Email: chen@cust.com
Mobile: Phone:
Last-Login: 2007-01-02:12:02:42 Type: local
Privilege: group-admin
__________________________________________________________________
The following command changes the monitor account to be a pool administrator (with read-write permission by default) for the pools staff and sales:
> account select monitor pool-admin staff,sales
The following command allows the pool3admin account to monitor all other objects in the group (does not change the ability to manage objects in their pools):
> account select pool3admin group-read-access enable
The following command removes the group-read-access permission from the pool administrator account kristen:
> account select kristen group-read-access disable
The account still has read-write access on all objects in its designated pool or pools, but can no longer see other objects in the group.