UCF STIG Viewer Logo

The inetd.conf file, xinetd.conf file, and the xinetd.d directory must be owned by root or bin.


Overview

Finding ID Version Rule ID IA Controls Severity
V-821 GEN003720 SV-35067r1_rule ECLP-1 Medium
Description
Failure to give ownership of sensitive files or utilities to root provides the designated owner and unauthorized users with the potential to access sensitive information or change the system configuration which could weaken the system's security posture.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-09-14

Details

Check Text ( C-34933r1_chk )
Check the ownership of the xinetd.d directory, the (x)inetd.conf file and any files identified by the configuration file includedir stanza.

# find / -type d -name xinetd.d | xargs -n1 ls -lLd
# find / -type f -name inetd.conf -o -name xinetd.conf | xargs -n1 ls -lL
# grep includedir /xinetd.conf

If any of the above named files, included files or directories are not owned by root or bin, this is a finding.
Fix Text (F-30239r1_fix)
Change the ownership of the inetd.conf file to root or bin.
# chown root