03-Chapter 3 Managing the User Account
-
Upload
nicoloh2002 -
Category
Documents
-
view
212 -
download
0
Transcript of 03-Chapter 3 Managing the User Account
8/20/2019 03-Chapter 3 Managing the User Account
http://slidepdf.com/reader/full/03-chapter-3-managing-the-user-account 1/7
Operation Manual – IPM VolumeUA5000 Universal Access Unit Table of Contents
Huawei Technologies Proprietary
i
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
8/20/2019 03-Chapter 3 Managing the User Account
http://slidepdf.com/reader/full/03-chapter-3-managing-the-user-account 2/7
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 3 Managing the User Account
Huawei Technologies Proprietary
3-1
Chapter 3 Managing the User Account
This chapter introduces the following:
Introduction to the User Account
Managing a User Account
3.1 Introduction to the User Account
In this manual, a user account refers to an account used by the maintenance staff to log
on to and manage the UA5000 through the CLI. System users are Common users,
Operators, Administrators and Superusers.
A Common user can query only the basic information of the system.
An Operator can configure the UA5000 and some services.
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 3–1 lists the commands for managing a user.
Table 3–1 Managing a user account
To… Use… In…
Add/Delete a user [undo] terminal user name Privilege mode
Modify the user authority terminal user level Privilege mode
Modify the user password terminal user password Privilege mode
Modify the additionalinformation on a user
terminal user apdinfo Privilege mode
Modify the reentry times ofa user
terminal user reenter Privilege mode
Query the user information display terminal user Common user mode
Query the online userinformation
display client Common user mode
8/20/2019 03-Chapter 3 Managing the User Account
http://slidepdf.com/reader/full/03-chapter-3-managing-the-user-account 3/7
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 3 Managing the User Account
Huawei Technologies Proprietary
3-2
3.2 Managing a User Account
By default, there is a Superuser root with the password admin. After logging in to the
system, the user root can configure and manage other system users.
The user account management includes:
Adding a User
Querying the User
Modifying the Attributes of a User
Deleting a User
3.2.1 Adding a User Account
To add a user to the CLI, use the terminal user name command. You need to providethe information such as the account, password, reenter number, user level and addition
information.
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.
Password (case sensitive)
The password consists of 1 to 15 characters. Common users and operators can
modify their only own passwords, while the Administrator and Superuser can
modify the passwords of all other users.
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.
User additional information
The user additional information may include the contact method of a system user.
It can be as long as 30 characters.
8/20/2019 03-Chapter 3 Managing the User Account
http://slidepdf.com/reader/full/03-chapter-3-managing-the-user-account 4/7
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 3 Managing the User Account
Huawei Technologies Proprietary
3-3
Note:
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
Permitted reenter number(0--4):2
User append information(<=30 chars):0755-8001234567
This user has been added
Repeat this operation? (y/n)[n]:n
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 Super Online 1 none
huawei User Offline 2 0755-8001234567
-------------------------------------------------------
Total record(s) number: 2
3.2.2 Querying the User Account Information
I. Querying the registration information about a user
To query the user information such as user name, user level, online state, reentry times,
use the display terminal user command.
Example
To query the information on the user huawei, do as follows:
huawei#display terminal user
{ all<K>|online<K>|name<K> }:name
8/20/2019 03-Chapter 3 Managing the User Account
http://slidepdf.com/reader/full/03-chapter-3-managing-the-user-account 5/7
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 3 Managing the User Account
Huawei Technologies Proprietary
3-4
{ username<S><1,15> }:huawei
-------------------------------------------------------
Name Level Status ReenterNum AppendInfo
-------------------------------------------------------
huawei User omline 2 0755-8001234567
-------------------------------------------------------------------------------------
Note:
The display terminal user command will show the information on system users at
your user level or lower.
II. Querying the online users information
To query the information on online users, use the display client command. The
information covers the client ID, client name, client type and IP address (for Telnet
terminals only).
huawei#display client
--------------------------------------------------------------------------
ID Client name Domain name IP Address Login Time
--------------------------------------------------------------------------
1 huawei -- 10.11.51.66 2005-06-27 09:34:24
2 root -- Serial 2005-06-27 09:56:11
--------------------------------------------------------------------------
3.2.3 Modifying the Attributes of a User Account
The Superuser or Administrator can modify the attributes of a common user or an
operator, including the user level, password, re-entry times and extra information.
I. Modifying the user level
To modify the authority of a user, use the terminal user level command.
Example
To modify the user huawei as an operator, do as follows:
huawei#terminal user level
User name (<=15 chars):huawei
1. Common User 2. Operator 3. Administrator:
8/20/2019 03-Chapter 3 Managing the User Account
http://slidepdf.com/reader/full/03-chapter-3-managing-the-user-account 6/7
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 3 Managing the User Account
Huawei Technologies Proprietary
3-5
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
II. Modifying the user password
To modify the user password, use the terminal user password command.
Example
To modify the password of user huawei, do as follows:
huawei#terminal user password
User name (<=15 chars):huawei
New password(<=15 chars):
Confirm Password(<=15 chars):
Information takes effect
Information will take effect when this user logs on next time
Repeat this operation? (y/n)[n]:n
III. Modifying the re-entry times
To modify the re-entry times, use the terminal user reenter command.
Example
To modify the re-entry times of huawei, do as follows:
huawei#terminal user reenter
User name (<=15 chars):huawei
Permitted reenter number(0--4):3
Confirm Reenter Number(0--4):3
Information will take effect when this user logs on next time
Repeat this operation? (y/n)[n]:n
IV. Modifying the details of a user
To modify the additional information on a user, use the terminal user apdinfo
command.
Example
To modify the additional information on huawei, do as follows:
huawei#terminal user apdinfo
User name (<=15 chars):huawei
User append information(<=30 chars):[email protected]
Information takes effect
Repeat this operation? (y/n)[n]:n
8/20/2019 03-Chapter 3 Managing the User Account
http://slidepdf.com/reader/full/03-chapter-3-managing-the-user-account 7/7
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 3 Managing the User Account
Huawei Technologies Proprietary
3-6
3.2.4 Deleting a User Account
To delete a user, the Superuser or Administrator can use the undo terminal user
name command.
Note:
You cannot delete the Superuser root.
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