Rule ID
SV-45814r1_rule
Version
V1R12
CCIs
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 the group ownership of the /etc/hosts.lpd(or equivalent) file. Procedure: # ls -lL /etc/hosts.lpd If the file is not group-owned by root, bin, sys, or system, this is a finding. Check the group ownership of the /etc/cups/printers.conf file. # ls -lL /etc/cups/printers.conf If the file is not group-owned by lp, this is a finding.
Change the group-owner of the hosts.lpd file. Procedure: # chgrp root /etc/hosts.lpd Change the group-owner of the printers.conf file. # chgrp lp /etc/cups/printers.conf