add administrator

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Configures a new administrator user, who can access the appliance through WebUI and SSH.

See:

Syntax

add administrator username <username> [ password-hash <password-hash> ] permission <permission>

Parameters

Parameter

Description

username

Configures the administrator user name.

A string that contains these characters:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '_' (underscore)

password-hash

Configures the sha512 of the password string.

The password is not visible as text on the command line, or in the command history.

Use this option if you want to change passwords using a script.

To generate a password-hash, you can use this command on any Check PointQuantum Spark Appliance (in the Expert mode):

cryptpw -a sha512 <password string>

permission

Configures the administrator permissions.

One of these:

  • access-policy

  • read-write

  • readonly

  • remote-access

  • Super Admin

    networking

Example Command

add administrator username user1 password-hash TZXPLs20bN0RA permission read-write