SV-275594r1147832_rule
V-275594
SRG-OS-000259-GPOS-00100
RIIM-OS-232075
CAT II
10
Configure Ubuntu OS library files to be protected from unauthorized access.
Run the following command, replacing "<command_name>" with any system command not group-owned by "root" or a required system account:
$ sudo chgrp root <command_name>
Verify the systemwide library files contained in the directories "/lib", "/lib64", and "/usr/lib" are group-owned by "root", or a required system account, by using the following command:
$ sudo find /lib /lib64 /usr/lib /usr/lib64 ! -group root -type f -exec stat -c "%n %G" '{}' \;
If any systemwide shared library file is returned and is not group-owned by a required system account, this is a finding.
V-275594
False
RIIM-OS-232075
Verify the systemwide library files contained in the directories "/lib", "/lib64", and "/usr/lib" are group-owned by "root", or a required system account, by using the following command:
$ sudo find /lib /lib64 /usr/lib /usr/lib64 ! -group root -type f -exec stat -c "%n %G" '{}' \;
If any systemwide shared library file is returned and is not group-owned by a required system account, this is a finding.
M
5706