ALMA-09-014430 - AlmaLinux OS 9 must disable the user list at logon for graphical user interfaces.

Information

Leaving the user list enabled is a security risk since it allows anyone with physical access to the system to enumerate known user accounts without authenticated access to the system.

Solution

Configure AlmaLinux OS 9 to disable the user list at logon for graphical user interfaces.

Create a database to contain the systemwide screensaver settings (if it does not already exist) with the following command:

Note: The example below is using the database "local" for the system, so if the system is using another database in "/etc/dconf/profile/user", the file should be created under the appropriate subdirectory.

$ touch /etc/dconf/db/local.d/02-login-screen

[org/gnome/login-screen]
disable-user-list=true

Update the system databases:

$ dconf update

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CL_AlmaLinux_OS_9_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269207r1050089_rule, STIG-ID|ALMA-09-014430, Vuln-ID|V-269207

Plugin: Unix

Control ID: 40a846a86dc77dc76efa4b44b2ca613a1a9aa8de630d06d749ce432d85cbc539