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

CAT II (Medium)

NixOS systemd-journald logs must have a mode of 0640 or less permissive.

Rule ID

SV-268118r1131037_rule

STIG

Anduril NixOS Security Technical Implementation Guide

Version

V1R2

CCIs

CCI-000162, CCI-001312

Discussion

Only authorized personnel should be aware of errors and the details of the errors. Error messages are an indicator of an organization's operational state or can identify the NixOS system or platform. Additionally, Personally Identifiable Information (PII) and operational information must not be revealed through error messages to unauthorized personnel or their designated representatives. The structure and content of error messages must be carefully considered by the organization and development team. The extent to which the information system is able to identify and handle error conditions is guided by organizational policy and operational requirements. Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000205-GPOS-00083

Check Content

Verify NixOS protects log information from unauthorized read access by implementing a mode of 0640 or less on the creation of log files with the following command: 

$ sudo find /var/log/journal -type f -perm -640 -not -perm 640 -printf "%p %m\n"

If any log files have a permission of greater than 0640, this is a finding.

Fix Text

The systemd-journald files are by design set to 0640 mode.

If any files are found with incorrect perms, correct them with the following command:

$ sudo find /var/log/journal -type f -exec chmod 0640 {} \;