RHEL-06-000046 - Library files must be owned by a system account - '/usr/local/lib/*'.

Information

Files from shared library directories are loaded into the address space of processes (including privileged ones) or of the kernel itself at runtime. Proper ownership is necessary to protect the integrity of the system.

Solution

System-wide shared library files, which are linked to executables during process load time or run time, are stored in the following directories by default:

/lib
/lib64
/usr/lib
/usr/lib64
/usr/local/lib
/usr/local/lib64

If any file in these directories is found to be owned by a user other than 'root' and does not match what is expected by the RPM, correct its ownership by running one of the following commands:


# rpm --setugids [PACKAGE_NAME]

Or

# chown root [FILE]

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(6), CAT|II, CCI|CCI-001499, Rule-ID|SV-217884r603264_rule, STIG-ID|RHEL-06-000046, STIG-Legacy|SV-50266, STIG-Legacy|V-38466, Vuln-ID|V-217884

Plugin: Unix

Control ID: 4308f664babbb0ac6a38daecb0865336b8fee5f9d57a73520e886ab87704bc61