IBM AIX
TMA-AIX-4.6.1.7
Ensure CDE screensaver lock is enabled
Deskripsi
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.
Cara pemeriksaan
Metode audit: Perintah shell
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"- Output yang diharapkan
compliant
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
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
Properti
- Sistem operasi
- Apa saja
- Tag
- aixservices
- Referensi
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.1.7 Ensure CDE screensaver lock is enabled
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
tmaegis scan --target aix