Oracle Solaris
TMA-SOLARIS-7.6
Lock Inactive User Accounts
中レベル 1自動solaris
説明
Guidelines published by the U.S. Department of Defense specify that user accounts must be locked out after 35 days of inactivity. This number may vary based on the particular site's policy. Inactive accounts pose a threat to system security since the users are not logging in to notice failed login attempts or other anomalies. Audit: the useradd default inactive value (definact in /usr/sadm/defadduser, shown by useradd -D) must be 1-35 days; check existing accounts with logins -axo.
チェック方法
監査方法: ファイルパターン
- ファイル
/usr/sadm/defadduser- パターン
(?m)^definact=([1-9]|[12][0-9]|3[0-5])\s*$
修正方法
修正方法: ガイダンスまたは IaC パッチ
useradd -D -f 35 (and for existing accounts: usermod -f 35 <user>)
プロパティ
- オペレーティングシステム
- すべて
- タグ
- solarisaccounts
- 参照
- CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 7.6 Lock Inactive User Accounts
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target solaris