summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/shadow.reimport4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/shadow.reimport b/bin/shadow.reimport
index 9ef8325c1..acf31d362 100755
--- a/bin/shadow.reimport
+++ b/bin/shadow.reimport
@@ -92,6 +92,10 @@ while (<SHADOW>) {
next unless $svc_acct->_password eq '*' || $opt_r;
+ next if $svc_acct->username eq 'root';
+
+ next if $password eq 'NP' || $password eq '*LK*';
+
next if $svc_acct->_password eq $password;
next if $svc_acct->_password =~ /^\*SUSPENDED\*/;