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

CAT II (Medium)

NixOS must enforce a delay of at least four seconds between logon prompts following a failed logon attempt.

Rule ID

SV-268171r1134782_rule

STIG

Anduril NixOS Security Technical Implementation Guide

Version

V1R2

CCIs

CCI-000366

Discussion

Limiting the number of logon attempts over a certain time interval reduces the chances that an unauthorized user may gain access to an account.

Check Content

Verify NixOS enforces a four-second delay between logon attempts with the following command:
 
$ grep -I delay /etc/login.defs

FAIL_DELAY 4

If "FAIL_DELAY" is not set to "4" or greater, is commented out, or is missing, this is a finding.

Fix Text

Configure NixOS to enforce a four-second delay between logon attempts.

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

security.loginDefs.settings."FAIL_DELAY" = "4";

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