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

expert-password-hash

Jump to solution

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
1 Solution

Accepted Solutions
Highlighted
Leader
Leader

@Abhishek_Singh1 

follow How to reset Expert password on a Check Point SMB Appliance 

if central managed option 3. should be your choice.

Wolfgang

View solution in original post

9 Replies
Highlighted
Participant

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. 

Highlighted
Admin
Admin

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

Highlighted
Contributor

Thanks for the information. Smiley Happy

Highlighted
Contributor

Is there something similar command on appliance 1490 ? 

0 Kudos
Highlighted
Contributor

Hi @PhoneBoy 

 

I have an 1430 appliance running on R77.20 ... tried to reset the expert password with the mentioned command ( with user having admin role) but getting below error --

 

set expert-password-hash XXXXXXXXXXx
      ^
Bad parameter starting at 'expert-password-hash XXXXXX

 

Basically expert-password-hash is not an recognizable command on this appliance , anything else I can try ? 

 

0 Kudos
Highlighted
Admin
Admin

The equivalent command on SMB appliances appears to be set expert password-hash

0 Kudos
Highlighted
Contributor

but thats giving the below error -

"Setting expert password with hash
Expert password already set
Set expert password failed"

I need something to reset expert password 😞

0 Kudos
Highlighted
Leader
Leader

@Abhishek_Singh1 

follow How to reset Expert password on a Check Point SMB Appliance 

if central managed option 3. should be your choice.

Wolfgang

View solution in original post