ansible-hardening/templates/dconf-screensaver-lock.j2
Major Hayden dccce1d5cc
Handle RHEL 7 STIG renumbering
This patch gets the docs adjusted to work with the new RHEL 7 STIG
version 1 release. The new STIG release has changed all of the
numbering, but it maintains a link to (most) of the old STIG IDs in
the XML.

Closes-bug: 1676865
Change-Id: I65023fe63163c9804a3aec9dcdbf23c69bedb604
2017-04-04 07:22:12 -05:00

25 lines
1.0 KiB
Django/Jinja

{% if security_lock_session | bool %}
[org/gnome/desktop/session]
# V-71893 - The operating system must initiate a screensaver after a
# 15-minute period of inactivity for graphical user
# interfaces.
idle-delay={{ security_lock_session_inactive_delay }}
[org/gnome/desktop/screensaver]
# V-71891 - The operating system must enable a user session lock until
# that user re-establishes access using established
# identification and authentication procedures.
lock-enabled=true
# V-71901 - The operating system must initiate a session lock for
# graphical user interfaces when the screensaver is activated.
lock-delay={{ security_lock_session_screensaver_lock_delay }}
{% if security_lock_session_when_inactive | bool %}
# V-71893 - The operating system must initiate a session lock for the
# screensaver after a period of inactivity for graphical user
# interfaces.
idle-activation-enabled=true
{% endif %}
{% endif %}