UCF STIG Viewer Logo

The hosts.lpd (or equivalent) must have mode 0644 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-829 GEN003940 SV-64121r1_rule Medium
Description
Excessive permissions on the hosts.lpd (or equivalent) file may permit unauthorized modification. Unauthorized modifications could disrupt access to local printers from authorized remote hosts or permit unauthorized remote access to local printers.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52619r1_chk )
Check the mode of the print service configuration file.

Procedure:
# ls -lL /etc/cups/printers.conf

If no print service configuration file is found, this is not applicable.
If the mode of the print service configuration file is more permissive than 0664, this is a finding.
Fix Text (F-54741r1_fix)
Change the mode of the /etc/cups/printers.conf file to 0664 or less permissive.

Procedure:
# chmod 0664 /etc/cups/printers.conf