SV-260496r991560_rule
V-260496
SRG-OS-000259-GPOS-00100
UBTU-22-232055
CAT II
10
Configure Ubuntu 22.04 LTS commands to be protected from unauthorized access.
Run the following command, replacing "<command_name>" with any system command not group-owned by "root" or a required system account:
$ sudo chgrp root <command_name>
Verify the system commands contained in the following directories are group-owned by "root" or a required system account by using the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -group root -type f ! -perm /2000 -exec stat -c "%n %G" '{}' \;
If any system commands are returned that are not Set Group ID upon execution (SGID) files and group-owned by a required system account, this is a finding.
V-260496
False
UBTU-22-232055
Verify the system commands contained in the following directories are group-owned by "root" or a required system account by using the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -group root -type f ! -perm /2000 -exec stat -c "%n %G" '{}' \;
If any system commands are returned that are not Set Group ID upon execution (SGID) files and group-owned by a required system account, this is a finding.
M
5594