SV-281060r1165535_rule
V-281060
SRG-OS-000259-GPOS-00100
RHEL-10-400215
CAT II
10
Configure RHEL 10 so that the library files are protected from unauthorized access. Run the following command, replacing "[FILE]" with any library file with a mode more permissive than "755".
$ sudo chmod 755 [FILE]
Verify RHEL 10 is configured so that the systemwide shared library files contained in the following directories have mode "755" or less permissive with the following command:
$ sudo find -L /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type f -exec ls -l {} \;
If any systemwide shared library file is found to be group-writable or world-writable, this is a finding.
V-281060
False
RHEL-10-400215
Verify RHEL 10 is configured so that the systemwide shared library files contained in the following directories have mode "755" or less permissive with the following command:
$ sudo find -L /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type f -exec ls -l {} \;
If any systemwide shared library file is found to be group-writable or world-writable, this is a finding.
M
5733