| name | cis-ubuntu2004-v300-1-7-2 |
| description | Ensure GDM login banner is configured |
| category | cis-networking |
| version | 3.0.0 |
| author | cyberstrike-official |
| tags | ["cis","ubuntu","linux","ubuntu-20.04","gnome","gdm","banner","login"] |
| cis_id | 1.7.2 |
| cis_benchmark | CIS Ubuntu Linux 20.04 LTS Benchmark v3.0.0 |
| tech_stack | ["ubuntu","linux"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
1.7.2 Ensure GDM login banner is configured (Automated)
Profile
- Level 1 - Server
- Level 1 - Workstation
Description
GDM is the GNOME Display Manager which handles graphical login for GNOME based systems.
Rationale
Warning messages inform users who are attempting to login to the system of their legal status regarding the system and must include the name of the organization that owns the system and any monitoring policies that are in place.
Audit Procedure
Command Line
Run the following command to verify that a user profile exists:
/etc/dconf/profile/gdm:user-db:user
/etc/dconf/profile/gdm:system-db:local
Run the following commands to verify that the text banner on the login screen is enabled and set:
true
'Authorized uses only. All activity may be monitored and reported'
Expected Result
- A user profile should exist with user-db and system-db entries
banner-message-enable should be true
banner-message-text should be set according to site policy
Remediation
Command Line
- IF - A user profile is already created run the following commands to set and enable the text banner message on the login screen:
Note:
-
banner-message-text may be set in accordance with local site policy
-
gsettings commands in this section MUST be done from a command window on a graphical desktop or an error will be returned.
-
The system must be restarted after all gsettings configurations have been set in order for CIS-CAT Assessor to appropriately assess.