SV-237609r646790_rule
V-237609
SRG-OS-000259-GPOS-00100
SLES-12-010873
CAT II
10
Configure the system library files to be protected from unauthorized access. Run the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 ! -user root -type f -exec chown root '{}' \;
Verify the system-wide shared library files contained in the directories "/lib", "/lib64", "/usr/lib" and "/usr/lib64" are owned by root.
Check that the system-wide shared library files are owned by root with the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 ! -user root -type f -exec stat -c "%n %U" '{}' \;
If any system wide library file is returned, this is a finding.
V-237609
False
SLES-12-010873
Verify the system-wide shared library files contained in the directories "/lib", "/lib64", "/usr/lib" and "/usr/lib64" are owned by root.
Check that the system-wide shared library files are owned by root with the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 ! -user root -type f -exec stat -c "%n %U" '{}' \;
If any system wide library file is returned, this is a finding.
M
4033