SV-238352r654231_rule
V-238352
SRG-OS-000259-GPOS-00100
UBTU-20-010431
CAT II
10
Configure the system library directories to be protected from unauthorized access. Run the following command:
$ sudo find /lib /usr/lib /lib64 ! -group root -type d -exec chgrp root '{}' \;
Verify the system-wide library directories "/lib", "/lib64", and "/usr/lib" are group-owned by root with the following command:
$ sudo find /lib /usr/lib /lib64 ! -group root -type d -exec stat -c "%n %G" '{}' \;
If any system-wide shared library directory is returned, this is a finding.
V-238352
False
UBTU-20-010431
Verify the system-wide library directories "/lib", "/lib64", and "/usr/lib" are group-owned by root with the following command:
$ sudo find /lib /usr/lib /lib64 ! -group root -type d -exec stat -c "%n %G" '{}' \;
If any system-wide shared library directory is returned, this is a finding.
M
5318