SV-230261r627750_rule
V-230261
SRG-OS-000259-GPOS-00100
RHEL-08-010340
CAT II
10
Configure the system-wide shared library files (/lib, /lib64, /usr/lib and /usr/lib64) to be protected from unauthorized access.
Run the following command, replacing "[FILE]" with any library file not owned by "root".
$ sudo chown root [FILE]
Verify the system-wide shared library files are owned by "root" with the following command:
$ sudo find -L /lib /lib64 /usr/lib /usr/lib64 ! -user root -exec ls -l {} \;
If any system wide shared library file is returned, this is a finding.
V-230261
False
RHEL-08-010340
Verify the system-wide shared library files are owned by "root" with the following command:
$ sudo find -L /lib /lib64 /usr/lib /usr/lib64 ! -user root -exec ls -l {} \;
If any system wide shared library file is returned, this is a finding.
M
2921