TMA-AIX-4.6.1.7
Ensure CDE screensaver lock is enabled
説明
The timeout of keyboard and mouse inactivity before a password protected screensaver is invoked by the CDE session manager should be explicitly configured. The default timeout of 30 minutes prior to a password protected screensaver being invoked is too long. The recommendation is to set this to 15 minutes or less to protect from unauthorized access on unattended systems. Audit: compliant when CDE is not installed.
チェック方法
監査方法: シェルコマンド
r=compliant; for file in /usr/dt/config/*/sys.resources; do [ -f "$file" ] || continue; e=$(echo "$file" | sed -e s/usr/etc/); if [ ! -f "$e" ]; then r="missing $e"; else grep -q "dtsession\*saverTimeout:" "$e" || r="$e: missing dtsession*saverTimeout"; grep -q "dtsession\*lockTimeout:" "$e" || r="$e: missing dtsession*lockTimeout"; fi; done; echo "$r"- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Set the default timeout parameters dtsession*saverTimeout: and dtsession*lockTimeout: for file in /usr/dt/config/*/sys.resources; do etc_file=`echo $file | sed -e s/usr/etc/` echo "\nupdating config file "$etc_file"..." if [[ ! -f $etc_file ]]; then dir=`dirname $file | sed -e s/usr/etc/` mkdir -p $dir cp $file $etc_file fi cp $etc_file $etc_file.bak grep -v 'dtsession\*saverTimeout:' $etc_file > $etc_file.sav grep -v 'dtsession\*lockTimeout:' $etc_file.sav > $etc_file echo 'dtsession*saverTimeout: 15' >> $etc_file echo 'dtsession*lockTimeout: 15' >> $etc_file rm $etc_file.sav done
プロパティ
- オペレーティングシステム
- すべて
- タグ
- aixservices
- 参照
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.1.7 Ensure CDE screensaver lock is enabled
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
tmaegis scan --target aix