STIGhubSTIGhub
STIGsRMF ControlsCompare

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
  • RMF Controls
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 5 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide

V-260512

CAT II (Medium)

Ubuntu 22.04 LTS must be configured so that the "journalctl" command is not accessible by unauthorized users.

Rule ID

SV-260512r958564_rule

STIG

Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide

Version

V2R8

CCIs

CCI-001312

Discussion

Any operating system providing too much information in error messages risks compromising the data and security of the structure, and content of error messages needs to be carefully considered by the organization. Organizations carefully consider the structure/content of error messages. The extent to which information systems are able to identify and handle error conditions is guided by organizational policy and operational requirements. Information that could be exploited by adversaries includes, for example, erroneous logon attempts with passwords entered by mistake as the username, mission/business information that can be derived from (if not stated explicitly by) information recorded, and personal information, such as account numbers, social security numbers, and credit card numbers.

Check Content

Verify that the "journalctl" command has a permission set of "740" by using the following command: 
 
     $ sudo find /usr/bin/journalctl -exec stat -c "%n %a" {} \; 
     /usr/bin/journalctl 740 
 
If "journalctl" is not set to "740", this is a finding.

Fix Text

Configure "journalctl" to have a permission set of "740": 
 
     $ sudo chmod 740 /usr/bin/journalctl