Got it

Basic commands for work with user accounts on OLT Highlighted

Latest reply: May 20, 2021 10:49:51 2546 32 7 0 0

Hi everybody!


In this theme, I want to show you basic commands for creating, modify, display and delete user accounts on OLT. I show examples for every command.


The first time, you can connect to OLT over a serial cable. When you set parameters for remote access, you can use ssh or telnet. Because security, recommended is ssh.


1. To login into the OLT, at the first time – root, x


login as: root

Keyboard-interactive authentication prompts from server:

| User Authentication

| User password:

End of keyboard-interactive prompts from server


Huawei Integrated Access Software (MA5800).

Copyright(C) Huawei Technologies Co., Ltd. 2002-2016. All rights reserved.


-----------------------------------------------------------------------------

User last login information:

-----------------------------------------------------------------------------

Access Type: SSH

IP-Address  : x.x.x.x

Login  Time : 29-05-2020 05:25:05+01:00

Logout Time : 29-05-2020 06:13:10+01:00

-----------------------------------------------------------------------------

...


TEST>


2. Command for add user profile:


TEST(config)# terminal user-profile add

User profile name (<=15 chars): konzul

Validity period of the user name (0—999 days)[0]:10

Validity period of the password (0—999 days)[0]:10

Permitted start time of logon by a user(hh:mm)[00:00]:10:00

Permitted end time of logon by a user(hh:mm)[00:00]:20:00

Adding user-profile successfully
Repeat this operation? (y/n)[n]: n


Note: With this command, you can define the validity period of the user name and password, and login start/end time.


3. Command for add new user:


TEST(config)# terminal user name
User Name(length<6,15>): konzul
User Password(length<6,15>): (insert a strong password here)
Confirm Password(length<6,15>): (confirm the password)
User profile name(<=15 chars)[root]: (press ENTER)
User's Level:
1. Common User 2. Operator 3. Administrator: 3
Permitted Reenter Number(0--4): 4
User's Appended Info(<=30 chars): (press ENTER or a comment)
Adding user successfully
Repeat this operation? (y/n)[n]: n


4. Command for delete user:


TEST(config)#undo terminal user name

User Name(<=15 chars): konzul

Are you sure to delete the user? (y/n)[n]:y

Deleting user successfully

Repeat this operation? (y/n)[n]:n


Note: Only admins have the right to delete users whose levels are lower than their own levels and cannot delete online users.


5. Command for change password:


OLT(config)# terminal user password
User Name(<=15 chars): root
New Password(length<6,15>): (insert a strong password here)
Confirm Password(length<6,15>): (confirm the password)
Information takes effect
Repeat this operation? (y/n)[n]: n


Note: At the first time, you have to change the root password. After that, you have to remember it. If you forgot this password, you must call your vendor.

6. Command for change user level:


TEST(config)# terminal user level
User Name(<=15 chars): konzul

1. Common User 2. Operator 3. Administrator: 3

User's Level: 1
Confirm Level: 1

Information will take effect when this user logs on next time

Repeat this operation? (y/n)[n]: n


Note: Only a higher-level user can change the level of another user.


7. Command for change the number of concurrent login times to 3:


TEST(config)# terminal user reenter
User Name(<=15 chars): konzul
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


8. Command for display all users:


TEST(config)#display terminal user all

{ <cr>||<K> }:


Command:

display terminal user all

----------------------------------------------------------------------------

Name            Level    Status  Reenter Profile         Append

Num                     Info

----------------------------------------------------------------------------

root            Super    Online        1 root            -----

----------------------------------------------------------------------------

Total record(s) number: 1


If you want to see only one user account, you can use this command:

TEST(config)#display terminal user konzul.


These are basic commands for user accounts.


Thank you!


The post is synchronized to: Community BlogVlada85's Author Collection

Thanks for sharing! Basic commands for work with user accounts on OLT-3829045-1
View more
  • x
  • convention:

Vlada85
Vlada85 Created Mar 13, 2021 16:53:04 (0) (0)
 
Well done
View more
  • x
  • convention:

Vlada85
Vlada85 Created Mar 13, 2021 16:52:48 (0) (0)
 
Thanks for sharing
View more
  • x
  • convention:

Vlada85
Vlada85 Created Mar 16, 2021 16:49:27 (0) (0)
you`re welcome!  
Faridrami
Faridrami Reply Vlada85  Created Mar 17, 2021 16:17:18 (0) (0)
 
The content is beneficial
View more
  • x
  • convention:

Chenxintao
Chenxintao Created Mar 16, 2021 09:50:52 (0) (0)
 
Vlada85
Vlada85 Created Mar 16, 2021 16:50:24 (0) (0)
Thank you  
BAZ
BAZ Created Apr 19, 2021 19:38:13 (0) (0)
Suggestion
Use code option for showing configuration steps  
Great
View more
  • x
  • convention:

Vlada85
Vlada85 Created Mar 16, 2021 16:49:51 (0) (0)
Thank you  
andersoncf1
MVE Author Created Mar 18, 2021 20:51:46

Great
View more
  • x
  • convention:

Vlada85
Vlada85 Created Mar 19, 2021 21:43:34 (0) (0)
Thank you  
Thanks for sharing
View more
  • x
  • convention:

Vlada85
Vlada85 Created Mar 19, 2021 21:43:21 (0) (0)
Thank you  
great guide .thx for sharing
View more
  • x
  • convention:

Vlada85
Vlada85 Created Mar 19, 2021 21:43:06 (0) (0)
Thank you  
Good Job! Basic commands for work with user accounts on OLT-3837955-1
View more
  • x
  • convention:

Vlada85
Vlada85 Created Mar 22, 2021 19:17:49 (0) (0)
Thank you  
12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.