SV-281095r1184678_rule
V-281095
SRG-OS-000095-GPOS-00049
RHEL-10-400500
CAT II
10
Configure RHEL 10 so that local initialization files do not execute world-writable programs with the following command:
$ sudo chmod 0755 <file>
Verify RHEL 10 local initialization files do not execute world-writable programs with the following command:
Note: The example will be for a system that is configured to create user home directories in the "/home" directory.
$ sudo find /home -perm -002 -type f -name ".[^.]*" -exec ls -ld {} \;
If any local initialization files are found to reference world-writable files, this is a finding.
V-281095
False
RHEL-10-400500
Verify RHEL 10 local initialization files do not execute world-writable programs with the following command:
Note: The example will be for a system that is configured to create user home directories in the "/home" directory.
$ sudo find /home -perm -002 -type f -name ".[^.]*" -exec ls -ld {} \;
If any local initialization files are found to reference world-writable files, this is a finding.
M
5733