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-829r2_rule ECLP-1 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
UNIX SRG 2013-03-26

Details

Check Text ( C-8031r2_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

If no print service configuration file is found, this is not applicable.

Check the mode of the print service configuration file.

Procedure:
# ls -lL

If the mode of the print service configuration file is more permissive than 0644, this is a finding.
Fix Text (F-983r2_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 /etc/hosts.lpd