STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

V-827

CAT II (Medium)

The hosts.lpd file (or equivalent) must not contain a + character.

Rule ID

SV-45812r1_rule

STIG

SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

Version

V1R12

CCIs

CCI-000366

Discussion

Having the '+' character in the hosts.lpd (or equivalent) file allows all hosts to use local system print resources.

Check Content

Look for the presence of a print service configuration file.

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

If none of the files are found, this check should be marked Not Applicable.  

Otherwise, examine the configuration file.

Procedure:
# more <print service file>

Check for entries that contain a ‘+’ or ‘_’ character.  If any are found, this is a finding.
For the "cups" print service, verify remote host access is limited.


# grep -i Listen /etc/cups/cupsd.conf 
The /etc/cups/cupsd.conf file must not contain a Listen *:<port> or equivalent line.
If the network address of the "Listen" line is unrestricted. This is a finding.

# grep -i "Allow From" /etc/cups/cupsd.conf 
The "Allow From" line within the "<Location />" element should limit access to the printers to @LOCAL and specific hosts.
If the "Allow From" line contains "All" this is a finding.

Fix Text

Remove the '+' entries from the hosts.lpd (or equivalent) file.

Configure cups to use only the localhost or specified remote hosts.

Procedure: 
Modify the /etc/cups/cupsd.conf file to "Listen" only to the local machine or a known set of hosts (i.e., Listen localhost:631).
Modify the /etc/cups/cupsd.conf file "<Location />" element to "Deny From All" and "Allow from 127.0.0.1" or allowed host addresses. 

Restart cups:
# rccups restart