1.87 SOL-11.1-040170

Information

The system must require users to re-authenticate to unlock a graphical desktop environment.

GROUP ID: V-216101RULE ID: SV-216101r958400

Allowing access to a graphical environment when the user is not attending the system can allow unauthorized users access to the system.

Solution

The root role is required.

Edit the global screensaver configuration file to ensure 15 minute screen lock.

pfedit /usr/share/X11/app-defaults/XScreenSaver

Find the timeout control lines and change them to read:

*timeout: 0:15:00*lockTimeout: 0:00:05*lock: True

For each user on the system, edit their local $HOME/.xscreensaver file and change the timeout values.

pfedit $HOME/.xscreensaver

Find the timeout control lines and change them to read:

timeout: 0:15:00lockTimeout: 0:00:05lock: True

See Also

https://workbench.cisecurity.org/benchmarks/23873