SV-275593r1147829_rule
V-275593
SRG-OS-000259-GPOS-00100
RIIM-OS-232070
CAT II
10
Configure Ubuntu OS library files to be protected from unauthorized access. Run the following command:
$ sudo find /lib /usr/lib /lib64 ! -user root -type f -exec chown root '{}' \;
Verify the systemwide shared library files contained in the directories "/lib", "/lib64", and "/usr/lib" are owned by "root" by using the following command:
$ sudo find /lib /usr/lib /lib64 ! -user root -type f -exec stat -c "%n %U" '{}' \;
If any systemwide library file is returned, this is a finding.
V-275593
False
RIIM-OS-232070
Verify the systemwide shared library files contained in the directories "/lib", "/lib64", and "/usr/lib" are owned by "root" by using the following command:
$ sudo find /lib /usr/lib /lib64 ! -user root -type f -exec stat -c "%n %U" '{}' \;
If any systemwide library file is returned, this is a finding.
M
5706