IBM AIX
TMA-AIX-4.6.1.8
Ensure CDE login screen hostname is masked
Descripción
The Dtlogin*greeting.labelString parameter is the message displayed in the first dialogue box on the CDE login screen. This is where the username is entered. The Dtlogin*greeting.persLabelString is the message displayed in the second dialogue box on the CDE login screen. This is where the password is entered. Audit: compliant when CDE is not installed.
Cómo se verifica
Método de auditoría: Comando de shell
r=compliant; for file in /usr/dt/config/*/Xresources; do [ -f "$file" ] || continue; e=$(echo "$file" | sed -e s/usr/etc/); if [ ! -f "$e" ]; then r="missing $e"; else grep -q "Dtlogin\*greeting.labelString:" "$e" || r="$e: missing greeting.labelString"; grep -q "Dtlogin\*greeting.persLabelString:" "$e" || r="$e: missing greeting.persLabelString"; fi; done; echo "$r"- Salida esperada
compliant
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Copy the files from /usr/dt/config/*/Xresources to /etc/dt/config/*/Xresources and add the Dtlogin*greeting.labelString and Dtlogin*greeting.persLabelString parameters to all copied Xresources files: for file in /usr/dt/config/*/Xesources; 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 WARN="Authorized uses only. All activity may be monitored and reported." cp $etc_file $etc_file.bak grep -v 'Dtlogin\*greeting.labelString:' $etc_file > $etc_file.sav grep -v 'Dtlogin\*greeting.persLabelString:' $etc_file.sav > $etc_file echo "Dtlogin*greeting.labelString: $WARN" >> $etc_file echo "Dtlogin*greeting.persLabelString: $WARN" >> $etc_file rm $etc_file.sav done WARN="Authorized uses only. All activity may be monitored and reported." echo "Dtlogin*greeting.labelString: $WARN" >> $dir/Xresources echo "Dtlogin*greeting.persLabelString: $WARN" >> $dir/Xresources done
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- aixaccounts
- Referencia
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.1.8 Ensure CDE login screen hostname is masked
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target aix