Alcatel Carrier Internetworking Solutions Switch/Router 用户手册

下载
页码 1100
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.