GEN003900 - The hosts.lpd file (or equivalent) must not contain a + character - 'Listen'

Information

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

Solution

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:
# service cups restart

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-218521r603259_rule, STIG-ID|GEN003900, STIG-Legacy|SV-64115, STIG-Legacy|V-827, Vuln-ID|V-218521

Plugin: Unix

Control ID: b7db6a7adbfe73583a7305e33dee2161769edb4d28e252628cf5882371633600