NixOS system configuration files and directories must be group-owned by root.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-268123ANIX-00-000690SV-268123r1039257_ruleCCI-000171medium
Description
Without the capability to restrict the roles and individuals that can select which events are audited, unauthorized personnel may be able to prevent the auditing of critical events. Misconfigured audits may degrade the system's performance by overwhelming the audit log. Misconfigured audits may also make it more difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one.
STIGDate
Anduril NixOS Security Technical Implementation Guide2024-10-25

Related Frameworks

4 paths across 3 frameworks
NIST 800-531 mapping
AU-12
1.00
  • DISA · 1 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.3.1
1.00
  • DISA · 1 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
  • NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.3.2
1.00
  • DISA · 1 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
  • NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000171
1.00
  • DISA · 1 · disa_xccdf · related

Details

Check Text (C-268123r1039257_chk)

Verify that the NixOS system configuration files and directories are group-owned by root with the following command: $ sudo find /etc/nixos -exec stat -c "%G %n" {} \; root /etc/nixos root /etc/nixos/configuration.nix root /etc/nixos/hardware-configuration.nix If the system configuration files and directories are not group-owned by root, this is a finding.

Fix Text (F-71950r1039256_fix)

Configure the NixOS system configuration files and directories to be group-owned by root by using the following command: $ sudo find /etc/nixos -exec chown -R :root {} \; Rebuild the NixOS configuration with the following command: $ sudo nixos-rebuild switch