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-227079 GEN003920 SV-227079r854456_rule 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 10 SPARC Security Technical Implementation Guide 2022-09-07

Details

Check Text ( C-29241r485624_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-29229r485625_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