Do not report blocked out NIS password entries as passwordless.

Submitted by:	"Sean O'Connell" <sean@stat.Duke.EDU>
This commit is contained in:
sheldonh 2000-04-05 13:42:48 +00:00
parent 2bf92db1cd
commit 2f6a866b8b

View File

@ -57,7 +57,7 @@ awk -F: '$3==0 {print $1,$3}' /etc/master.passwd
separator
echo "checking for passwordless accounts:"
awk -F: 'NF > 1 && $1 !~ /^[#+]/ && $2=="" {print $0}' /etc/master.passwd
awk -F: 'NF > 1 && $1 !~ /^[#+-]/ && $2=="" {print $0}' /etc/master.passwd
# Show denied packets
#