HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

Fabric OS 5.0.0 command reference guide 713
Examples
To add a new account:
To display current account information:
To change account attributes:
See also
none
--change username [-r rolename] [-d description] [-e yes | no]
Change attributes for an existing account, named username, in the
switch. The -r option specifies change to authorization rolename.
The -d option specifies change to description. The -e option
expects either yes or no to enable or disable an account. Once an
account is disabled, the CLI sessions associated with the account
are terminated. The following rules apply to change an account:
1. Cannot change the rolename or description of any default
accounts.
2. Cannot change the rolename or description for accounts
at the same or higher authorization level.
3. An account cannot change the rolename of itself.
4. Except the default root account, no account can disable itself.
-recover Recover all accounts from backup database. The backup database
is created in Secure Fabric OS, when certain operations cause a
switch to delete some of its customer created accounts. For details,
read the secure mode description. Once accounts have been
recovered, the accounts in the backup database are still present.
switch:admin> userconfig --add joan -r admin -d "joan hoy"
Setting initial password for joan
Enter new password:
Re-type new password:
Account joan has been successfully added.
switch:admin> userconfig --show joan
Account name: joan
Role: admin
Description: Joan Hoy
Enabled: Yes
switch:admin> userconfig --change joan -r user-e no
Attribute for account joan has been successfully changed.