set administrator username permission

Description

Configures an existing administrator's permission level and password (by hash).

Syntax

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

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 MD5 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 Point Quantum Spark Appliance (in the Expert mode):

cryptpw -a md5 <password string>

permission

Configures the administrator permissions.

One of these:

  • networking

  • readonly

  • read-write

Example

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