The hosts.lpd (or equivalent) file must be group-owned by lp.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN003930

Associated with: CCI-000225

SV-64117r2_rule The hosts.lpd (or equivalent) file must be group-owned by lp.

Vulnerability discussion

Failure to give group-ownership of the hosts.lpd file to root, bin, sys, or system provides the members of the owning group and possible unauthorized users, with the potential to modify the hosts.lpd file. Unauthorized modifications could disrupt access to local printers from authorized remote hosts or permit unauthorized remote access to local printers.

Check content

Check the group ownership of the /etc/cups/printers.conf file. Procedure: # ls -lL /etc/cups/printers.conf If the file is not group-owned by lp, this is a finding.

Fix text

Change the group-owner of the printers.conf file. Procedure: # chgrp lp /etc/cups/printers.conf

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer