UCF STIG Viewer Logo

The hosts.lpd (or equivalent) file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-828 GEN003920 SV-37455r3_rule ECLP-1 Medium
Description
Failure to give ownership of the hosts.lpd file to root provides the designated owner, 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.
STIG Date
SOLARIS 9 SPARC SECURITY TECHNICAL IMPLEMENTATION GUIDE 2015-10-01

Details

Check Text ( C-36123r6_chk )
Check the owner of the print service configuration files.
Procedure:

# ls -lL /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf

If the owner of any of the print service configuration files is not root, this is a finding.
Fix Text (F-34392r2_fix)
Change the owner of the print service configuration files.
Procedure:

# chown root /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/sfw/smb.conf