Modifying an existing user account, Disabling a user account, Deleting a user account – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 263

Examples
Use the show running-config username command in privileged EXEC mode to
display all configured users.
switch# show running-config username
username admin password "BwrsDbB+tABWGWpINOVKoQ==\n" encryption-level 7 role admin
desc Administrator
username user password "BwrsDbB+tABWGWpINOVKoQ==\n" encryption-level 7 role user desc
User
Use the show running-config username username command in privileged
EXEC mode to display a single user.
switch# show running-config username admin
username admin password "BwrsDbB+tABWGWpINOVKoQ==\n" encryption-level 7 role admin
desc Administrator
Use the show running-config username username enable command in
privileged EXEC mode to display whether the account is enabled or disabled.
switch# show running-config username admin enable
username admin enable true
Modifying an existing user account
The syntax for the account create and modify operations is essentially the same. The difference is that
there are no mandatory parameters for modifying an existing account. The system internally recognizes
whether a new account is created or an existing account is modified by checking whether the user
account is already present in the configuration database.
The following example adds a description to the previously created "brcdUser" account.
1. In privileged EXEC mode, use the configure terminal command to enter global configuration mode.
2. Enter the username command with the specified parameters.
switch# configure terminal l
Entering configuration mode terminal
switch(config)# username brcdUser
switch(config-username-brcdUser)# desc "Brocade guest account"
Disabling a user account
You can disable a user account by setting the enable parameter to false. All active login sessions for a
user are terminated when a user account is disabled.
1. In privileged EXEC mode, use the configure terminal command to enter global configuration mode.
2. Enter username command with the specified parameters.
switch# configure terminal
Entering configuration mode terminal
switch(config)# username testUser enable false
Deleting a user account
1. In privileged EXEC mode, use the configure terminal command to enter global configuration mode.
2. Enter the no username command.
switch# configure terminal
Entering configuration mode terminal
switch(config)# no username testUser
All active login sessions for a user are terminated when a user account is deleted.
Modifying an existing user account
Network OS Administrator’s Guide
263
53-1003225-04