SV-260498r991560_rule
V-260498
SRG-OS-000259-GPOS-00100
UBTU-22-232065
CAT II
10
Configure Ubuntu 22.04 LTS 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 systemwide library directories "/lib", "/lib64", and "/usr/lib" are group-owned by "root" by using the following command:
$ sudo find /lib /usr/lib /lib64 ! -group root -type d -exec stat -c "%n %G" '{}' \;
If any systemwide shared library directory is returned, this is a finding.
V-260498
False
UBTU-22-232065
Verify the systemwide library directories "/lib", "/lib64", and "/usr/lib" are group-owned by "root" by using the following command:
$ sudo find /lib /usr/lib /lib64 ! -group root -type d -exec stat -c "%n %G" '{}' \;
If any systemwide shared library directory is returned, this is a finding.
M
5594