To delete a user-defined account, To change account parameters – HP Brocade 4Gb SAN Switch for HP BladeSystem p-Class User Manual
Page 44
![background image](/manuals/398246/44/background.png)
44
Configuring standard security features
2.
Issue the following command:
userConfig --add
username -r rolename [-d description]
3.
In response to the prompt, enter a password for the account.
The password is not displayed when you enter it on the command line.
Accounts with the admin role can create accounts. Accounts with the user role cannot.
To delete a user-defined account
1.
Connect to the switch and log in as admin.
2.
Issue the following command:
userConfig --delete
username
3.
At the prompt for confirmation, enter
y
.
Accounts with the admin role can delete user-defined accounts on the logical switch. Accounts with the
user role cannot.
To change account parameters
1.
Connect to the switch and log in as admin.
where:
username
Specifies the account name, which must begin with an alphabetic
character. The name can be from 8 to 40 characters. It is case sensitive
and can contain alphabetic and numeric characters, the dot (.), and the
underscore ( _ ). It must be different from all other account names on the
logical switch.
-r rolename
Specifies the role: either admin or user in nonsecure mode; admin, user,
or nonfcsadmin in secure mode.
-d description
Optionally, adds a description to the account. The description field can
be up to 40 printable ASCII characters long. The following characters
are not allowed: asterisk (‘), quotation mark (“), exclamation point (!),
semi-colon (;), and colon (:).
where:
username
Specifies the account name. You cannot delete the default accounts. An
account cannot delete itself. All active CLI sessions for the deleted
account are logged out.