Got it

I try the following command local-user change-password

Created: Aug 4, 2021 09:11:39Latest reply: Aug 13, 2021 16:15:14 283 7 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

but it prompts with following error: "It is exclusive to a local user."

What is the possible cause for this?

i check the display local-user expire-time and the username with the password that i login has already expire. The switch that is in use is S5720 series.

Featured Answers

Recommended answer

jason_hu
Admin Created Aug 4, 2021 09:28:14

Hi friend!

You have not passed the local authentication or the local account has expired, because only the users who have passed the local authentication can execute this command to change their password.

Run the display local-user username command to check whether the validity period configured for the local account is correct based on the Account-expire-time field.

If so, run the local-user command in the AAA view to reconfigure the local account.

If not, run the local-user expire-date command in the AAA view to change the validity period or run the undo local-user expire-date command in the AAA view to configure the local account to be permanently valid.

Hope to help you!

View more
  • x
  • convention:

JaredKelupa
JaredKelupa Created Aug 5, 2021 00:53:19 (0) (0)
oh thanks for the info. i was also suspecting it may be due to account expire. But if account had expire why am i still able to login?  
jason_hu
jason_hu Reply JaredKelupa  Created Aug 5, 2021 07:26:38 (0) (0)
How did you log in.  
jason_hu
jason_hu Reply jason_hu  Created Aug 5, 2021 07:37:20 (0) (0)
You run the display local-user username command to check whether the validity period configured for the local account is correct based on the Account-expire-time field. Look at the information in the switch. if it has not expired, it means that the local authentication has not passed.  
All Answers
Hello,
We're working on your problem. Please be patient.
View more
  • x
  • convention:

Hello friend!

Possible Causes:
The validity period of the local account expired.
Solution:
Run the display local-user username command to check whether the validity period configured for the local account is correct based on the Account-expire-time field.
- If so, run the local-user command in the AAA view to reconfigure the local account.
- If not, run the local-user expire-date command in the AAA view to change the validity period or run the undo local-user expire-date command in the AAA view to configure the local account to be permanently valid.

https://support.huawei.com/enterprise/en/doc/EDOC1000091883/97f22279/local-user-expired-errcode-364

Thanks!

View more
  • x
  • convention:

Hi friend!

You have not passed the local authentication or the local account has expired, because only the users who have passed the local authentication can execute this command to change their password.

Run the display local-user username command to check whether the validity period configured for the local account is correct based on the Account-expire-time field.

If so, run the local-user command in the AAA view to reconfigure the local account.

If not, run the local-user expire-date command in the AAA view to change the validity period or run the undo local-user expire-date command in the AAA view to configure the local account to be permanently valid.

Hope to help you!

View more
  • x
  • convention:

JaredKelupa
JaredKelupa Created Aug 5, 2021 00:53:19 (0) (0)
oh thanks for the info. i was also suspecting it may be due to account expire. But if account had expire why am i still able to login?  
jason_hu
jason_hu Reply JaredKelupa  Created Aug 5, 2021 07:26:38 (0) (0)
How did you log in.  
jason_hu
jason_hu Reply jason_hu  Created Aug 5, 2021 07:37:20 (0) (0)
You run the display local-user username command to check whether the validity period configured for the local account is correct based on the Account-expire-time field. Look at the information in the switch. if it has not expired, it means that the local authentication has not passed.  
andersoncf1
andersoncf1 MVE Author Created Aug 13, 2021 16:15:14

Good asnwers! Congrats I try the following command local-user change-password-4085041-1
View more
  • x
  • convention:

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.