2.5 セキュリティ定義ファイル(security.conf)
ユーザーのパスワード条件やロックに関する設定をするための定義ファイルです。
クラスタシステムの場合,実行系サーバと待機系サーバで同じ設定をしてください。
形式
指定キー名=設定値
格納先フォルダ
共通コンポーネントのインストール先フォルダ\conf\secまたは/opt/HiCommand/Base64/conf/sec
定義の反映契機
定義ファイルの更新
記述内容
指定キー名と設定値を1行に1つずつ指定します。セキュリティ定義ファイルを記述するときは,次の点に注意してください。
「#」で始まる行はコメント行として扱われます。
空白行は無視されます。
大文字と小文字は区別されます。
設定値が有効な値ではない場合,デフォルト値が設定されます。
同一の指定キーをファイル内に複数指定した場合は,あとに指定したものが有効となります。
定義例
# 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
設定項目
キー名 |
設定項目 |
設定できる値 |
デフォルト値 |
---|---|---|---|
password.min.length |
パスワードの最小文字数を指定する。 |
1~256 |
4 |
password.min.uppercase |
パスワードに含める大文字の最小数を指定する。0を指定した場合,大文字の数に制限はなくなる。 |
0~256 |
0 |
password.min.lowercase |
パスワードに含める小文字の最小数を指定する。0を指定した場合,小文字の数に制限はなくなる。 |
0~256 |
0 |
password.min.numeric |
パスワードに含める数字の最小数を指定する。0を指定した場合,数字の数に制限はなくなる。 |
0~256 |
0 |
password.min.symbol |
パスワードに含める記号の最小数を指定する。0を指定した場合,記号の数に制限はなくなる。 |
0~256 |
0 |
password.check.userID |
ユーザーIDと同じパスワードを設定できないようにするかどうかを指定する。 |
|
false |
account.lock.num |
アカウントを自動ロックするときのログイン連続失敗回数を指定する。0を指定すると,ログインに連続で失敗しても自動ロックしない。 |
0~10 |
0 |