SV-269173r1050055_rule
V-269173
SRG-OS-000259-GPOS-00100
ALMA-09-010690
CAT II
10
Configure the systemwide shared library directories within (/lib, /lib64, /usr/lib and /usr/lib64) to be protected from unauthorized access.
Run the following command, replacing "[DIRECTORY]" with any library directory not owned by "root".
$ chown root [DIRECTORY]
Verify the systemwide shared library directories are owned by "root" with the following command:
$ find -L /lib /lib64 /usr/lib /usr/lib64 ! -user root -type d -exec stat -c "%n %U" '{}' \;
If any systemwide shared library directory is not owned by root, this is a finding.
V-269173
False
ALMA-09-010690
Verify the systemwide shared library directories are owned by "root" with the following command:
$ find -L /lib /lib64 /usr/lib /usr/lib64 ! -user root -type d -exec stat -c "%n %U" '{}' \;
If any systemwide shared library directory is not owned by root, this is a finding.
M
5664