diff options
-rw-r--r-- | etc/security | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/security b/etc/security index ac70d0c..7570cd1 100644 --- a/etc/security +++ b/etc/security @@ -55,7 +55,7 @@ awk -F: '$3==0 {print $1,$3}' /etc/master.passwd separator echo "checking for passwordless accounts:" -awk -F: '$1 !~ /^\+/ && $2=="" {print $0}' /etc/master.passwd +awk -F: 'NF > 1 && $1 !~ /^[#+]/ && $2=="" {print $0}' /etc/master.passwd # Show denied packets # |