Oracle Solaris
TMA-SOLARIS-6.16
Restrict root Login to System Console
高レベル 1自動solaris
説明
Privileged access to the system via root must be accountable to a particular user. Use an authorized mechanism such as RBAC and the su command to provide administrative access to unprivileged accounts. These mechanisms provide an audit trail in the event of problems. Audit: pattern match on /etc/default/login as described in the CIS audit procedure.
チェック方法
監査方法: ファイルパターン
- ファイル
/etc/default/login- パターン
(?m)^CONSOLE=/dev/console\s*$
修正方法
修正方法: ガイダンスまたは IaC パッチ
Perform the following to implement the recommended state: # cd /etc/default # awk '/CONSOLE=/ { print "CONSOLE=/dev/console"; next }; { print }' login > login.CIS # mv login.CIS login
プロパティ
- オペレーティングシステム
- すべて
- タグ
- solarisaccounts
- 参照
- CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 6.16 Restrict root Login to System Console
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target solaris