Академический Документы
Профессиональный Документы
Культура Документы
Table of Contents
Table of Contents
Chapter 3 Managing the User Account ....................................................................................... 3-1
3.1 Introduction to the User Account ....................................................................................... 3-1
3.2 Managing a User Account ................................................................................................. 3-2
3.2.1 Adding a User Account ........................................................................................... 3-2
3.2.2 Querying the User Account Information.................................................................. 3-3
3.2.3 Modifying the Attributes of a User Account............................................................. 3-4
3.2.4 Deleting a User Account ......................................................................................... 3-6
A Common user can query only the basic information of the system.
An Administrator can manage all the functions and services, and users of lower
levels.
A Superuser has the highest authority for managing all the functions and services,
apart from managing lower levels users. The Superuser cannot be created. By
default, the system has one superuser.
When a user attempts to log on, the UA5000 authenticates the user name and
password. It then assigns the user with the corresponding authority.
Table 31 lists the commands for managing a user.
Table 31 Managing a user account
To
Use
In
Add/Delete a user
Privilege mode
Privilege mode
Privilege mode
Privilege mode
Privilege mode
display client
Adding a User
Deleting a User
Account
Also known as user name, it is unique in the UA5000 system. A user name
consists of 1 to 15 printable characters without any space in between.
User level
There are three levels for users: Common User, Operator and Administrator.
Re-entry count
When a system user attempts to log on, the UA5000 checks whether someone
has logged on using the same account. If yes, the system will check the re-enter
number set for the user and decide whether to allow the user to log on. The
number ranges from 0 to 4. When the reentry time is set as 0, the user is not
allowed to log on, but the user still exists.
Note:
z
The Superuser root cannot be deleted, but its password can be modified.
Multiple users can be added at a time. The CLI supports up to 126 system users.
Example
To add the user huawei with the reentry times as 2 and additional information as
0755-8001234567, do as follows:
huawei#terminal user name
User name (<=15 chars):huawei
User password(<=15 chars):
Confirm Password(<=15 chars):
User's Level(1--3)
1. Common User
2. Operator
3. Administrator:1
Now query its information using the display terminal user command.
huawei#display terminal user
{ all<K>|online<K>|name<K> }:all
----------------------------------------------------Name
Level
Status
ReenterNum
AppendInfo
------------------------------------------------------root
huawei
Super
User
Online
Offline
none
0755-8001234567
{ username<S><1,15> }:huawei
------------------------------------------------------Name
Level
Status
ReenterNum AppendInfo
------------------------------------------------------huawei
User
omline
0755-8001234567
-------------------------------------------------------------------------------------
Note:
The display terminal user command will show the information on system users at
your user level or lower.
Domain name
IP Address
Login Time
-------------------------------------------------------------------------1
huawei
--
10.11.51.66
2005-06-27 09:34:24
root
--
Serial
2005-06-27 09:56:11
--------------------------------------------------------------------------
2. Operator
3. Administrator:
User's Level(1--3)2
Confirm Level: 2
Information will take effect when this user logs on next time
Repeat this operation? (y/n)[n]:n
Note:
z
You cannot delete an online user. To delete an online Telnet user, first use the
telnet delete command to disconnect the user. (A user of a higher level can force a
low level online Telnet user to go offline using the telnet delete command.)
Example
To delete user huawei, do as follows:
huawei#undo terminal user name
User name (<=15 chars):huawei
Are you sure to delete the user?(y/n) [n]:y
This user has been deleted