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

NixOS must enforce a 60-day maximum password lifetime restriction.

DISA Rule

SV-268133r1131071_rule

Vulnerability Number

V-268133

Group Title

SRG-OS-000076-GPOS-00044

Rule Version

ANIX-00-000800

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure NixOS operating system to enforce a 60-day maximum password lifetime.

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

security.loginDefs.settings.PASS_MAX_DAYS = "60";

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

Check Contents

Verify NixOS enforces a 60-day maximum password lifetime for new user accounts by running the following command:

$ grep PASS_MAX_DAYS /etc/login.defs

PASS_MAX_DAYS 60

If the "PASS_MAX_DAYS" parameter value is less than 60 or commented out, this is a finding.

Vulnerability Number

V-268133

Documentable

False

Rule Version

ANIX-00-000800

Severity Override Guidance

Verify NixOS enforces a 60-day maximum password lifetime for new user accounts by running the following command:

$ grep PASS_MAX_DAYS /etc/login.defs

PASS_MAX_DAYS 60

If the "PASS_MAX_DAYS" parameter value is less than 60 or commented out, this is a finding.

Check Content Reference

M

Target Key

5658