cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post

expert-password-hash

Could anyone please guide me like what is the use of command set expert-password-hash ?

Actually when I used this command I am not able to login via expert password that I set before applying this command.

0 Kudos
5 Replies

Re: expert-password-hash

According to How to reset the Expert mode password in Gaia OS  it is used to reset the Expert mode password:

  1. Connect to the CLI on Gaia machine (over SSH or console).

  2. Log in to CLISH as an adminRole user (a user with monitorRole does not have sufficient permissions).

  3. Find the hash of the CLISH password:

    HostName:0> show configuration

    One line near the end will look similar to this:
    set user <USERNAME> password-hash $1$vCbd0F3d$FjawgvrKBN.4Ed27hTPpB0
  4. Set the hash of the CLISH password to be the hash of the Expert mode password

    HostName:0> set expert-password-hash <HASH_of_CLISH_PASSWORD>
    (in this case: set expert-password-hash $1$vCbd0F3d$FjawgvrKBN.4Ed27hTPpB0 )
  5. Save the configuration:
    HostName:0> save config
  6. Set new Expert mode password:
    HostName:0> set expert-password
  7. Save the configuration
    HostName:0> save config

So you don't use it AFTER you have set a password for Expert mode. 

0 Kudos
Highlighted
Admin
Admin

Re: expert-password-hash

Much simpler way to generate the expert password hash: cp_openssl passwd -1

Re: expert-password-hash

Thanks for the information. Smiley Happy

LuisSP
Iron

Re: expert-password-hash

Is there something similar command on appliance 1490 ? 

0 Kudos
Admin
Admin

Re: expert-password-hash

0 Kudos