diff --git a/etc/security b/etc/security index 4cfba5331e3a..a0a2701e3452 100644 --- a/etc/security +++ b/etc/security @@ -117,7 +117,7 @@ fi separator echo 'Checking for uids of 0:' -n=$(awk -F: '$3==0 {print $1,$3}' /etc/master.passwd | +n=$(awk -F: '/^#/ {next} $3==0 {print $1,$3}' /etc/master.passwd | tee /dev/stderr | sed -e '/^root 0$/d' -e '/^toor 0$/d' | wc -l)