ALTER PROFILE
Changes a profile. All parameters that are not set in a profile inherit their setting from the default profile. You can use ALTER PROFILE
to change the default profile.
Syntax
ALTER PROFILE name LIMIT [ password-parameter setting ]...
PASSWORD_LIFE_TIME PASSWORD_GRACE_TIME FAILED_LOGIN_ATTEMPTS PASSWORD_LOCK_TIME PASSWORD_REUSE_MAX PASSWORD_REUSE_TIME PASSWORD_MAX_LENGTH PASSWORD_MIN_LENGTH PASSWORD_MIN_LETTERS PASSWORD_MIN_UPPERCASE_LETTERS PASSWORD_MIN_LOWERCASE_LETTERS PASSWORD_MIN_DIGITS PASSWORD_MIN_SYMBOLS
Parameters
To reset a parameter to inherit from the default profile, set its value to default
.
Name | Description |
---|---|
name |
The name of the profile to create, where name conforms to conventions described in Identifiers. To modify the default profile, set name to ALTER PROFILE DEFAULT LIMIT PASSWORD_MIN_SYMBOLS 1; |
PASSWORD_LIFE_TIME
|
Set to an integer value, one of the following:
After your password's lifetime and grace period expire, you must change your password on your next login, if you have not done so already. |
PASSWORD_GRACE_TIME
|
Set to an integer value, one of the following:
|
FAILED_LOGIN_ATTEMPTS
|
Set to an integer value, one of the following:
|
PASSWORD_LOCK_TIME
|
Set to an integer value, one of the following:
|
PASSWORD_REUSE_MAX
|
Set to an integer value, one of the following:
|
PASSWORD_REUSE_TIME
|
Set to an integer value, one of the following:
|
PASSWORD_MAX_LENGTH
|
The maximum number of characters allowed in a password, one of the following:
|
PASSWORD_MIN_LENGTH
|
The minimum number of characters required in a password, one of the following:
|
PASSWORD_MIN_LETTERS
|
Minimum number of letters (a‑z and A‑Z) that must be in a password, one of the following:
|
PASSWORD_MIN_UPPERCASE_LETTERS
|
Minimum number of uppercase letters (A‑Z) that must be in a password, one of the following:
|
PASSWORD_MIN_LOWERCASE_LETTERS
|
Minimum number of lowercase letters (a-z) that must be in a password, one of the following:
|
PASSWORD_MIN_DIGITS
|
Minimum number of digits (0-9) that must be in a password, one of the following:
|
PASSWORD_MIN_SYMBOLS
|
Minimum number of symbols—printable non-letter and non-digit characters such as $, #, @—that must be in a password, one of the following:
|
Privileges
Superuser
Profile Settings and Client Authentication
The following profile settings affect client authentication methods, such as LDAP or GSS:
FAILED_LOGIN_ATTEMPTS
PASSWORD_LOCK_TIME
All other profile settings are used only by Vertica to manage its passwords.
Example
ALTER PROFILE sample_profile LIMIT FAILED_LOGIN_ATTEMPTS 3;