HP StorageWorks Fabric OS 5.X Command Reference Guide (AA-RVHVB-TE, September 2005)

Table Of Contents
744 Fabric OS commands
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. You cannot change the rolename or description of any
default accounts.
2. You 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 for 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> userrename USERID admin