STIGViewer Support

NixOS must initiate a session lock after a 10-minute period of inactivity for graphical user logon.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-268086ANIX-00-000110SV-268086r1130969_ruleCCI-000057medium
Description
A session time-out 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 log out because of the temporary nature of the absence. Rather than relying on the user to manually lock their operating system session prior to vacating the vicinity, operating systems need to be able to identify when a user's session has idled and take action to initiate the session lock. The session lock is implemented at the point where session activity can be determined and/or controlled.
STIGDate
Anduril NixOS Security Technical Implementation Guide2025-08-19

Related Frameworks

1 mapping across 4 frameworks
SCF0 mappings

No source states a mapping between these directly.

Also reachable in 3 hops (1) derived by us, not asserted by any source

Each of these is a route we composed by chaining published mappings. No publisher states a relationship between the two endpoints.

IAC-24Session Lock
0.50
NIST 800-530 mappings

No source states a mapping between these directly.

Also reachable in 2 hops (18) derived by us, not asserted by any source

Each of these is a route we composed by chaining published mappings. No publisher states a relationship between the two endpoints.

AC-11Device Lock
1.00
AC-11(1)Pattern-hiding Displays
1.00
AC-12Session Termination
1.00
AC-12(2)Termination Message
1.00
AU-10Non-repudiation
1.00
CM-7Least Functionality
1.00
IA-11Re-authentication
1.00
IA-2Identification and Authentication (Organizational Users)
1.00
IA-2(1)Multi-factor Authentication to Privileged Accounts
1.00
IA-2(12)Acceptance of PIV Credentials
1.00

+8 more (top 10 by confidence shown)

NIST 800-1710 mappings

No source states a mapping between these directly.

Also reachable in 3 hops (1) derived by us, not asserted by any source

Each of these is a route we composed by chaining published mappings. No publisher states a relationship between the two endpoints.

3.1.10
1.00
CCI1 mapping

Details

Check Text (C-268086r1130969_chk)

Verify NixOS initiates a session lock after a 10-minute period of inactivity for graphical user logon with the following command: $ sudo gsettings get org.gnome.desktop.session idle-delay uint32 600 $ grep "IdleAction" /etc/systemd/logind.conf IdleAction = lock IdleActionSec = 600 $ systemctl --user status xautolock.service xautolock.service - xautolock service Loaded: loaded (/etc/systemd/user/xautolock.service; enabled; preset: ignored) Active: active (running) since Wed 2025-03-19 22:56:13 UTC; 6min ago Invocation: 836d5b6b79444c62aa3c5285e3c8d92e Main PID: 3233 (xautolock) Tasks: 1 (limit: 38062) Memory: 712K (peak: 2.4M) CPU: 75ms CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/xautolock.service +-3233 /nix/store/4chq53fkkiimbx1qzdbxxs44diiqgj54-xautolock-2.2-7-ga23dd5c/bin/xautolock -noclose -time 10 -locker "/nix/store/w9qcpyhjrxsqrps91wkz8r4mqvg9zrxc-systemd-256.10/bin/loginctl lock-session" Mar 19 22:56:13 gcs-generic-5-3 systemd[3136]: Started xautolock service. If "idle-delay" is set to "0" or a value greater than "600", this is a finding. If "IdleAction" is not "lock" and "IdleActionSec" is not "600", this is a finding. If the xautolock service is not present or the process line does not contain "-time 10", this is a finding.

Fix Text (F-71913r1130968_fix)

Configure NixOS to initiate a session lock after a 10-minute period of inactivity for graphical user logon. Update the NixOS config, typically stored either in /etc/nixos/configuration.nix or /etc/nixos/flake.nix: programs.dconf.profiles.user.databases = with lib.gvariant; lib.mkBefore [ { settings."org/gnome/desktop/session".idle-delay = (mkUint32 600); locks = [ "org/gnome/desktop/session/idle-delay" ]; }]; services.logind.extraConfig = '' IdleAction = lock IdleActionSec = 600 ''; services.xserver = { displayManager.gdm.wayland = true; xautolock = { enable = true; time = 10; locker = "${lib.getExe' config.systemd.package "loginctl"} lock-session"; }; }; }; Rebuild and switch to the new NixOS configuration: $ sudo nixos-rebuild switch