SV-260495r991560_rule
V-260495
SRG-OS-000259-GPOS-00100
UBTU-22-232050
CAT II
10
Configure Ubuntu 22.04 LTS commands and their respective parent directories to be protected from unauthorized access. Run the following command, replacing "<command_name>" with any system command not owned by "root" or a required system account:
$ sudo chown root <command_name>
Verify the system commands contained in the following directories are owned by "root", or a required system account, by using the following command:
$ sudo find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -user root -type f -exec stat -c "%n %U" '{}' \;
If any system commands are returned and are not owned by a required system account, this is a finding.
V-260495
False
UBTU-22-232050
Verify the system commands contained in the following directories are owned by "root", or a required system account, by using the following command:
$ sudo find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -user root -type f -exec stat -c "%n %U" '{}' \;
If any system commands are returned and are not owned by a required system account, this is a finding.
M
5594