From: ivan Date: Wed, 17 Mar 2004 23:08:49 +0000 (+0000) Subject: skip root user and anyone with *LK* or NP accounts X-Git-Tag: freeside_1_4_2beta1~200 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=080031723064a2e3f6475fdc6b1fccf090a6643d;p=freeside.git skip root user and anyone with *LK* or NP accounts --- 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 () { 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\*/;