User Account, Password and Authentication CLI Commands

Password Control Commands

Use the following commands to control user passwords, as follows:

Account Lockout Commands

Use the account lockout commands to disable a Guardium user account after one or more failed login attempts. Use these commands to:

After a Guardium user account has been disabled, it can be enabled from the Guardium portal, and only by users with the accessmgr role, or the admin user.

Example

Enable account lockout, lock an account after 5 login failures within 10 minutes, and set the maximum number of failures allowed to 999.

store account lockout on

store account strike count 5

store account strike interval 10

store account strike max 999

Notes

store account lockout

Enables (on) or disables (off) the automatic account lockout feature, which disables a user account after a specified number of login failures.

Syntax

store account lockout <on | off>

Show Command

show account lockout

store account strike count

Sets the number of failed login attempts (n) in the configured strike interval before disabling the account.

Syntax

store account strike count <n>

Show Command

show account strike count

store account strike interval

Sets the number of seconds (n) during which the configured number of failed login attempts must occur in order to disable the account.

Syntax

store account strike interval <n>

Show Command

show account strike interval

store account strike max

Sets the maximum number (n) of failed login attempts to be allowed for an account over the life of the server, before the account is disabled.

Syntax

store account strike max <n>

Show Command

show account strike max

store password disable

Sets the number of days of inactivity, after which user accounts will be disabled. When set to 0 (zero), no accounts will be disabled by inactivity. At installation, the default value is zero. You must restart the GUI after changing this setting (see restart gui).

Syntax

store password disable <days>

Show Command

show password disable

store password expiration

Sets the age (in days) for user password expiration. When set to 0 (zero), the password never expires. For any other value, the account user must reset the password the first time they log in after the current password has expired. The default value is 90. You must restart the GUI after changing this setting.

Syntax

store password expiration <days>

Show Command

show password expiration

store password validation

Turns password validation on or off. The default value is on. You must restart the GUI after changing this setting.

When password validation is enabled, the password must be eight or more characters in length, and must include at least one uppercase alphabetic character (A-Z), one lowercase alphabetic character (a-z), one digit (0-9), and one special character from the table below. When disabled (not recommended), any length or combination of characters is allowed.

Syntax

store password validation <on | off>

Show Command

show password validation

Special Characters for Guardium Passwords

@

Commercial at sign

#

Number sign

$

Dollar sign

%

Percent sign

^

Circumflex accent (carat)

&

Ampersand

.

Full stop (Period)

;

Semicolon

!

Exclamation mark

-

Hyphen (minus)

+

Plus sign

=

Equals sign

_

Low line (underscore)

store user password

Use this command to reset the cli user password. To simplify the support process, we suggest that you keep the cli user password assigned initially by Guardium. There is no way to retrieve the cli user password once it is set. If you lose this password, contact Guardium Support to have it reset.

Syntax

User Account, Password and Authentication CLI Commands

You will be prompted to enter the current password, and then the new password (twice). None of the password values you enter on the keyboard will display on the screen.

The cli user password requirements differ from the requirements for user passwords. The cli user password must be at least six characters in length, and must contain at least one each of the following types of characters:

unlock admin

Use this command to enable the Guardium admin user account after it has been disabled. This command does not reset the admin user account password.

Syntax

unlock admin

Authentication Commands

The following commands display or control the type of authentication used.

store auth

Use this command to reset the type of authentication used for login to the Guardium appliance, to SQL_GUARD (i.e. Guardium authentication, the default).

Optional authentication methods (LDAP or Radius, for example) can be configured and enabled from the administrator portal, but not from the CLI.

Syntax

store auth SQL_GUARD

Show Command

show auth