SV-230319r627750_rule
V-230319
SRG-OS-000480-GPOS-00227
RHEL-08-010710
CAT II
10
All directories in local partitions which are world-writable must be group-owned by root or another system account. If any world-writable directories are not group-owned by a system account, this must be investigated. Following this, the directories must be deleted or assigned to an appropriate group.
The following command will discover and print world-writable directories that are not group-owned by a system account, given the assumption that only system accounts have a gid lower than 1000. Run it once for each local partition [PART]:
$ sudo find [PART] -xdev -type d -perm -0002 -gid +999 -print
If there is output, this is a finding.
V-230319
False
RHEL-08-010710
The following command will discover and print world-writable directories that are not group-owned by a system account, given the assumption that only system accounts have a gid lower than 1000. Run it once for each local partition [PART]:
$ sudo find [PART] -xdev -type d -perm -0002 -gid +999 -print
If there is output, this is a finding.
M
2921