Managing User Login Accounts
Page 8-12

Default Accounts

Initially each switch is preconfigured with three default logins (admin, user and diag). See
Chapter 4, “The User Interface,” for more information about login accounts. If you are logged
into an account with the WRITE privilege to the USER command you may create or delete
login accounts as described in this section. You may also create new user accounts.
Note
At least one user account with WRITE privileges to use
the USER family of commands is required on the switch
at all times. If you attempt to remove or modify the
only user account to READ-ONLY privilege, the switch
will reject the modification command.
There are several commands available for modifying the user login accounts on the switch.
To see a list of all user accounts currently available on the switch, use the userview command
in the UI mode.

Adding a User Account Using the UI Command Mode

To add a user account you must be logged into an account with administrative privileges.
1. At the system prompt enter the useradd command. The following prompt displays:
Enter Username: ( ) :
2. Enter the desired user name. The following prompt displays:
Force Password change on next login [y/n] ? (y) :
3. Press <Enter> to force a password change at the next login for this user, or enter n to keep
the configured password. The following prompt displays:
Enter password: ( ) :
4. Enter the desired password. The following prompt displays:
Enter new password again: ( ) :
5. Enter the desired password again. In this example, the username “TechPubs1” is entered.
A message similar to the following displays:
User TechPubs1 user privileges (0:0:0) :
The user login account “TechPubs1” is now active on the switch.
At this point the new account has permission to log onto and off of the switch. To add
other privileges refer to ‘‘Assigning Account Privileges Using the UI Command Mode’’ on
page 8-16 or to ‘‘Assigning Account Privileges Using the CLI Command Mode’’ on page 8-
13.