HP StorageWorks Fabric OS 3.X Document Addendum (AA-RW24A-TE, January 2005)

Fabric OS reference guide
230 Fabric OS 3.x Document Addendum
Examples
To add a new account:
To display current account information:
--change username
[-r rolename]
[-d description] [-e yes | no]
Changes attributes for an existing account,
named username, in the switch. The -r
option specifies a change to the
authorization rolename. The -d option
specifies a change to the description. The
-e option accepts either yes or no to enable
or disable an account. After an account is
disabled, the CLI sessions associated with
the account are terminated. The following
rules apply:
An account cannot change the
rolename or description of
any default accounts.
An account cannot change the
rolename or description for
accounts at the same or higher
authorization level.
An account cannot change the
rolename of itself.
Except the default root account, no account
can disable itself.
--recover Recovers all accounts from the backup
database. After accounts were recovered,
they are no longer present in the 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, refer
to the secure mode description.
switch:admin> userConfig "--add joe -r admin -d Joe Smith"
Enter new password:
Re-type new password:
Account joe has been successfully added.
switch:admin> userConfig "--show joe"
Account name: joe
Role: admin
Description: Joe Smith
Enabled: Yes