Skip to content

NixOS must not allow an unattended or automatic login to the system via the console.

An XCCDF Rule

Description

Failure to restrict system access via the console to authenticated users negatively impacts operating system security.

ID
SV-268172r1039586_rule
Version
ANIX-00-001880
Severity
High
References
Updated

Remediation Templates

A Manual Procedure

Configure the operating system to not allow an unattended or automatic login to the system via the console.

Note: Once set, the system must be rebooted for any changes to apply.

Add or update the following configuration in /etc/nixos/configuration.nix: