SV-261298r996371_rule
V-261298
SRG-OS-000259-GPOS-00100
SLEM-05-232065
CAT II
10
Configure the library directories to be protected from unauthorized access. Run the following command:
> sudo transactional-update shell
> sudo find /lib /lib64 /usr/lib /usr/lib64 ! -group root -type d -exec chgrp root '{}' \;
> exit
> sudo reboot
Verify the system-wide shared library directories contained in the directories "/lib", "/lib64", "/usr/lib" and "/usr/lib64" are group-owned by root with the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 ! -group root -type d -exec stat -c "%n %G" '{}' \;
If any system wide library directory is returned, this is a finding.
V-261298
False
SLEM-05-232065
Verify the system-wide shared library directories contained in the directories "/lib", "/lib64", "/usr/lib" and "/usr/lib64" are group-owned by root with the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 ! -group root -type d -exec stat -c "%n %G" '{}' \;
If any system wide library directory is returned, this is a finding.
M
5596