OL6-00-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_Oracle_Linux_6_V2R7_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(6), CAT|II, CCI|CCI-001499, Rule-ID|SV-208823r793608_rule, STIG-ID|OL6-00-000046, STIG-Legacy|SV-64991, STIG-Legacy|V-50785, Vuln-ID|V-208823

Plugin: Unix

Control ID: 80655d146a304af2b5637abefddeb5a92d9d2f4a54059053516b17b7475ccc5e