3.6.1.8 CDE - login screen hostname masking - dtlogin.greeting.labelString

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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.

Rationale:

Potential hackers may gain access to valuable information such as the hostname and the version of the operating system from the default AIX login screen. This information would assist hackers in choosing the exploitation methods to break into the system. For security reasons, change the login screen default messages.

Solution

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/*/Xresources; do
dir='dirname $file | sed s/usr/etc/'
mkdir -p $dir
if [ ! -f $dir/Xresources ]; then
cp $file $dir/Xresources
fi
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

Default Value:

N/A

See Also

https://workbench.cisecurity.org/files/3525