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-45816r1_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
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-43137r1_chk )
Locate any print service configuration file on the system. Consult vendor documentation for the name and location of print service configuration files.

Procedure:
# find /etc -name hosts.lpd -print
# find /etc -name Systems –print
# find /etc -name printers.conf -print


Check the mode of the print service configuration file.

# ls -lL


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 0644, this is a finding.
Fix Text (F-39204r1_fix)
Change the mode of the /etc/hosts.lpd file (or equivalent, such as /etc/lp/Systems) to 0644 or less permissive. Consult vendor documentation for the name and location of print service configuration files.

Procedure:
# chmod 0644