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