SV-234806r622137_rule
V-234806
SRG-OS-000023-GPOS-00006
SLES-15-010050
CAT II
10
Configure the SUSE operating system to display the Standard Mandatory DoD Notice and Consent Banner until users acknowledge the usage conditions and take explicit actions to log on for further access.
Note: If a graphical user interface is not installed, this requirement is Not Applicable.
Edit the file "/etc/gdm/Xsession".
Add the following content to the file "/etc/gdm/Xsession" below the line #!/bin/sh:
if ! zenity --text-info \
--title "Consent" \
--filename=/etc/gdm/banner \
--no-markup \
--checkbox="Accept." 10 10; then
sleep 1;
exit 1;
fi
Save the file "/etc/gdm/Xsession".
Verify the SUSE operating system displays the Standard Mandatory DoD Notice and Consent Banner until users acknowledge the usage conditions and take explicit actions to log on via the local GUI.
Note: If a graphical user interface is not installed, this requirement is Not Applicable.
Check the configuration by running the following command:
> more /etc/gdm/Xsession
The beginning of the file must contain the following text immediately after (#!/bin/sh):
if ! zenity --text-info \
--title "Consent" \
--filename=/etc/gdm/banner \
--no-markup \
--checkbox="Accept." 10 10; then
sleep 1;
exit 1;
fi
If the beginning of the file does not contain the above text immediately after the line (#!/bin/sh), this is a finding.
V-234806
False
SLES-15-010050
Verify the SUSE operating system displays the Standard Mandatory DoD Notice and Consent Banner until users acknowledge the usage conditions and take explicit actions to log on via the local GUI.
Note: If a graphical user interface is not installed, this requirement is Not Applicable.
Check the configuration by running the following command:
> more /etc/gdm/Xsession
The beginning of the file must contain the following text immediately after (#!/bin/sh):
if ! zenity --text-info \
--title "Consent" \
--filename=/etc/gdm/banner \
--no-markup \
--checkbox="Accept." 10 10; then
sleep 1;
exit 1;
fi
If the beginning of the file does not contain the above text immediately after the line (#!/bin/sh), this is a finding.
M
5274