2.5 Security definition file (security.conf)
This is the definition file for settings related to user password conditions and locks.
In a cluster system, make the settings the same on the active server and the standby server.
Format
specification-key-name=setting
Installation folder
Common-Component-installation-folder\conf\sec
Trigger for applying definitions
Updating the definition file
Description
One specification key and setting can be specified per line. Note the following points when coding the security definition file.
-
Lines that begin with # are treated as comments.
-
Blank lines are ignored.
-
The entries are case sensitive.
-
If an invalid value is specified, the default value will be set.
-
If the same specification key is entered multiple times in a file, the last one that is specified will take effect.
Example definitions
# This is the minimum length of the password # (minimum: 1 -256characters) password.min.length=4 # This is the minimum number of uppercase characters included in the password # (minimum: 0-256 characters, character type: A-Z) password.min.uppercase=0 # This is the minimum number of lowercase characters included in the password # (minimum: 0-256 characters, character type: a-z) password.min.lowercase=0 # This is the minimum number of numeric characters included in the password # (minimum: 0-256 characters, character type: 0-9) password.min.numeric=0 # This is the minimum number of symbolic characters included in the password # (minimum: 0-256 characters, character type: ! # $ % & ' ( ) * + - . = @ \ ^ _ |) password.min.symbol=0 # This specifies whether the user ID can be used for the password. # (true = cannot use the user ID, false = can use the user ID) password.check.userID=false # This is the minimum number of login failures before an account is locked # (minimum: 0-10 times) account.lock.num=0
Settings
Key name |
Settings |
Specifiable value |
Default value |
---|---|---|---|
password.min.length |
Specifies the minimum number of characters in a password. |
1-256 |
4 |
password.min.uppercase |
Specifies the minimum number of uppercase letters that must be included in the password. If 0 is specified, there are no constraints on the number of uppercase letters. |
0-256 |
0 |
password.min.lowercase |
Specifies the minimum number of lowercase letters that must be included in the password. If 0 is specified, there are no constraints on the number of lowercase letters. |
0-256 |
0 |
password.min.numeric |
Specifies the minimum number of numeric characters that must be included in the password. If 0 is specified, there are no constraints on the number of numeric characters. |
0-256 |
0 |
password.min.symbol |
Specifies the minimum number of symbols that must be included in the password. If 0 is specified, there are no constraints on the number of symbols. |
0-256 |
0 |
password.check.userID |
Specifies whether or not to prevent the password from being the same as the user ID. |
|
false |
account.lock.num |
Specifies the number of consecutive failed login attempts before the account is automatically locked. If 0 is specified, the account is not automatically locked after failed login attempts. |
0-10 |
0 |
Related topics