STIGhubSTIGhub
STIGsSearchCompareAbout

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • Compare Versions

Resources

  • About
  • VPAT
  • DISA STIG Library
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to Anduril NixOS Security Technical Implementation Guide

V-268087

CAT II (Medium)

NixOS must provide the capability for users to directly initiate a session lock for all connection types.

Rule ID

SV-268087r1130972_rule

STIG

Anduril NixOS Security Technical Implementation Guide

Version

V1R2

CCIs

CCI-000057, CCI-000056, CCI-000060

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, 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. Satisfies: SRG-OS-000030-GPOS-00011, SRG-OS-000028-GPOS-00009, SRG-OS-000031-GPOS-00012

Check Content

Verify the NixOS operating system has the "vlock" package installed by running the following command: 

$ which vlock
/run/current-system/sw/bin/vlock

If the "vlock" package is not installed, this is a finding.

Fix Text

Configure NixOS to have a package that allows user to lock session.

Update the NixOS config, typically stored either in /etc/nixos/configuration.nix or /etc/nixos/flake.nix:

 environment.systemPackages = [
  pkgs.vlock
 ];

Rebuild and switch to the new NixOS configuration:
$ sudo nixos-rebuild switch