SV-257919r1044979_rule
V-257919
SRG-OS-000259-GPOS-00100
RHEL-09-232195
CAT II
10
Configure the system commands to be 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 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 a required system account, this is a finding.
V-257919
False
RHEL-09-232195
Verify 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 a required system account, this is a finding.
M
5551