SV-281038r1184683_rule
V-281038
SRG-OS-000259-GPOS-00100
RHEL-10-400105
CAT II
10
Configure RHEL 10 so that the system commands are protected from unauthorized access.
Run the following command, replacing "[FILE]" with any system command file not group-owned by "root" or a required system account.
$ sudo chgrp root [FILE]
Verify RHEL 10 is configured so that the system commands contained in the following directories are group-owned by "root", or a required system account, with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/local/bin /usr/local/sbin ! -group root -exec stat -L -c "%G %n" {} \;
If any system commands are returned and are not group-owned by "root" or a required system account, this is a finding.
V-281038
False
RHEL-10-400105
Verify RHEL 10 is configured so that the system commands contained in the following directories are group-owned by "root", or a required system account, with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/local/bin /usr/local/sbin ! -group root -exec stat -L -c "%G %n" {} \;
If any system commands are returned and are not group-owned by "root" or a required system account, this is a finding.
M
5733