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-268132

CAT II (Medium)

NixOS must enforce 24 hours/one day as the minimum password lifetime.

Rule ID

SV-268132r1131069_rule

STIG

Anduril NixOS Security Technical Implementation Guide

Version

V1R2

CCIs

CCI-004066

Discussion

Enforcing a minimum password lifetime helps to prevent repeated password changes to defeat the password reuse or history enforcement requirement. If users are allowed to immediately and continually change their password, then the password could be repeatedly changed in a short period of time to defeat the organization's policy regarding password reuse.

Check Content

Verify NixOS enforces 24 hours/one day as the minimum password lifetime with the following command: 

$ grep PASS_MIN_DAYS /etc/login.defs 

PASS_MIN_DAYS 1

If PASS_MIN_DAYS_1 is not present, is commented out, or is a value different from 1, this is a finding.

Fix Text

Configure NixOS operating system to enforce 24 hours/one day as the minimum 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_MIN_DAYS = "1";

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