Someone changed the admin password, but we could still access the gateway via the SSH key. The processes for resetting the password, bypassing password history was quite easy:

Go to expert mode and generate a hashed string for password ‘ABCXYZ1234’

[Expert@checkpoint:0]# cpopenssl passwd -1 ABCXYZ1234
$1$I54N3F1M$lk/zHvFaKRKXkUFoiEamq1

Then go back to regular CLI and apply the hashed password

[Expert@checkpoint:0]# exit

set user admin password-hash $1$I54N3F1M$lk/zHvFaKRKXkUFoiEamq1

save config

That’s it. Logging in to GAIA as admin / ABCXYZ1234 will then work