1.7.3 Ensure GDM disable-user-list option is enabled
Audit#
Run the following command and to verify that the disable-user-list option is enabled:
Remediation#
- IF - A user profile exists run the following command to enable the disable-user-list:
Note:
- 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.
- If the dconf database is not updating correctly due to umask requirements contain in the benchmark, then use (umask 0022 && gsetting set) commands from above to temporarily set umask ensuring that any files or directories created by gsettings will have the required permissions.
- OR/IF - A user profile does not exist:
- Create or edit the gdm profile in the /etc/dconf/profile/gdm with the following lines:
Note: gdm is the name of a dconf database.
-
Create a gdm keyfile for machine-wide settings in /etc/dconf/db/gdm.d/00-login-screen:
-
Update the system databases
Note: When the user profile is created or changed, the user will need to log out and log in again before the changes will be applied.
Default Value:
false