STIGQter STIGQter: STIG Summary: Anduril NixOS Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 01 Oct 2025:

NixOS must disable account identifiers (individuals, groups, roles, and devices) after 35 days of inactivity.

DISA Rule

SV-268174r1131156_rule

Vulnerability Number

V-268174

Group Title

SRG-OS-000118-GPOS-00060

Rule Version

ANIX-00-001930

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure NixOS to disable inactive users.

Add the following Nix code to the NixOS Configuration, usually located in /etc/nixos/configuration.nix or /etc/nixos/flake.nix:

Ensure the lib functions are available:
{ config, lib, ... }:

environment.etc."/default/useradd".text = lib.mkForce
''
INACTIVE=35
'';

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

Check Contents

Verify NixOS disables account identifiers (individuals, groups, roles, and devices) after 35 days of inactivity with the following command:

$ grep -i inactive /etc/default/useradd

INACTIVE=35

If INACTIVE is not set to 35 or less, or is missing or commented out, this is a finding.

Vulnerability Number

V-268174

Documentable

False

Rule Version

ANIX-00-001930

Severity Override Guidance

Verify NixOS disables account identifiers (individuals, groups, roles, and devices) after 35 days of inactivity with the following command:

$ grep -i inactive /etc/default/useradd

INACTIVE=35

If INACTIVE is not set to 35 or less, or is missing or commented out, this is a finding.

Check Content Reference

M

Target Key

5658