aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/security2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/security b/etc/security
index 96ffc288de0f..c78671382f93 100644
--- a/etc/security
+++ b/etc/security
@@ -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
#