SV-230258r627750_rule
V-230258
SRG-OS-000259-GPOS-00100
RHEL-08-010310
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 owned by "root".
$ sudo chown root [FILE]
Verify the system commands contained in the following directories are owned by "root" with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -user root -exec ls -l {} \;
If any system commands are returned, this is a finding.
V-230258
False
RHEL-08-010310
Verify the system commands contained in the following directories are owned by "root" with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -user root -exec ls -l {} \;
If any system commands are returned, this is a finding.
M
2921