Technical data

3-8 Fabric OS Administrator’s Guide
Publication Number: 53-0000518-09
Changing an Account Password
3
To change account parameters
1. Connect to the switch and log in as admin.
2. Enter the following command:
Accounts with the admin role can change information for accounts that have lesser permissions.
Accounts with the user role cannot.
To recover user-defined accounts
If a backup account exists (in secure mode), you can recover it with the following command:
The following conditions apply to recovering user accounts:
Only accounts with admin or higher roles can recover accounts.
The attributes in the backup database replace the attributes in the current account database.
An event is stored in the system message log, indicating that accounts have been recovered.
Changing an Account Password
At each level of account access, you can change passwords for that account and accounts that have
lesser privileges.
If you log in to a user account, you can change only that account’s password.
userconfig --change username [-r rolename] [-d description] [-e yes | no]
username Changes the account attribute for username. The account must already exist.
-r rolename Optionally, changes the role: either admin, switchAdmin, or user in nonsecure
mode; admin, user, or nonfcsadmin in secure mode.
An account cannot change its own role.
You can change only the role name of a user-defined account with a lower level
of authorization.
-d description Optionally, the account description. The description field can be up to 40
printable ASCII characters long. The following characters are not allowed:
asterisk (‘), quotation mark (“), exclamation point (!), semicolon (;), and
colon (:).
You can change only the description of a user-defined account with a lower
level of authorization.
-e Optionally, enter yes to enable the account or enter no to disable it. If you
disable an account, all active CLI sessions for that account are logged out. You
can enable or disable user-defined or default accounts.
userConfig --recover