OL6-00-000046 - Library files must be owned by a system account - '/usr/local/lib'

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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_V1R17_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CAT|II, CCI|CCI-001499, CSCv6|3.1, Group-ID|V-50785, Rule-ID|SV-64991r4_rule, STIG-ID|OL6-00-000046, Vuln-ID|V-50785

Plugin: Unix

Control ID: 9fe0ae4f1b0a65eeaa587cb5f5c1074764620e0f843a82a235a8d79cd6fe6f64