Hello Everyone,
I am trying to reconfigure a 1500 appliance using a CLI script exported from another appliance. However, the command to add a new local-user using password hash fails:
# clish -c 'show configuration' | grep local-user
add local-user name "test" password-hash "$5$uP8D78rQ$bYXgdHEoNfyynYHHkpMaHluTxtQkMGGkg.fFAffrtXC" is-temp-user "false"
# clish
> delete user test type local
> add local-user name test password-hash $5$uP8D78rQ$bYXgdHEoNfyynYHHkpMaHluTxtQkMGGkg.fFAffrtXC is-temp-user false
Could not set local-user password-hash: Not valid password hash
Could not set local-user password-hash: Not valid password hash
The reason why I want to do this is that I attempted a migration from R77.20.87 to R80.20.X, but I had a million problems and errors poping up and TAC is not being slow to respond. So I decided to configure from scratch using a script, but this would impact 20 local users if I am unable to create them.
Does anyone know how to make this command work?
PS: Adding administrators seems to work. The issue happens for local users (such as VPN users, etc).
The gateway is locally managed.