The Ubuntu operating system must retain a users session lock until that user reestablishes access using established identification and authentication procedures.

STIG ID: UBTU-18-010401  |  SRG: SRG-OS-000028-GPOS-00009 |  Severity: medium |  CCI: CCI-000056 |  Vulnerability Id: V-219302 | 

Vulnerability Discussion

A session lock is a temporary action taken when a user stops work and moves away from the immediate physical vicinity of the information system but does not want to log out because of the temporary nature of the absence.

The session lock is implemented at the point where session activity can be determined. Rather than be forced to wait for a period of time to expire before the user session can be locked, Ubuntu operating systems need to provide users with the ability to manually invoke a session lock so users may secure their session should the need arise for them to temporarily vacate the immediate physical vicinity.

Check

Verify the Ubuntu operation system has a graphical user interface session lock enabled.

Note: If the Ubuntu operating system does not have a Graphical User Interface installed, this requirement is Not Applicable.

Get the ""lock-enabled"" setting to verify if the graphical user interface session has the lock enabled with the following command:

# sudo gsettings get org.gnome.desktop.screensaver lock-enabled

true

If "lock-enabled" is not set to "true", this is a finding.

Fix

Configure the Ubuntu operating system so that it allows a user to lock the current graphical user interface session.

Note: If the Ubuntu operating system does not have a Graphical User Interface installed, this requirement is Not Applicable.

Set the ""lock-enabled"" setting to allow graphical user interface session locks with the following command:

# sudo gsettings set org.gnome.desktop.screensaver lock-enabled true