SV-216428r603267_rule
V-216428
SRG-OS-000480
SOL-11.1-070120
CAT II
10
The root role is required.
Work with each respective group owner to remediate this issue and ensure that the group ownership of their files are set to an appropriate value.
The root role is required.
Check that group IDs are unique.
# getent group | cut -f3 -d":" | sort -n | uniq -c |\
while read x ; do
[ -z "${x}" ] && break
set - $x
if [ $1 -gt 1 ]; then
grps=`getent group | nawk -F: '($3 == n) { print $1
}' n=$2 | xargs`
echo "Duplicate GID ($2): ${grps}"
fi
done
If output is produced, this is a finding.
V-216428
False
SOL-11.1-070120
The root role is required.
Check that group IDs are unique.
# getent group | cut -f3 -d":" | sort -n | uniq -c |\
while read x ; do
[ -z "${x}" ] && break
set - $x
if [ $1 -gt 1 ]; then
grps=`getent group | nawk -F: '($3 == n) { print $1
}' n=$2 | xargs`
echo "Duplicate GID ($2): ${grps}"
fi
done
If output is produced, this is a finding.
M
4022