projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ceb48a
)
skip root user and anyone with *LK* or NP accounts
author
ivan
<ivan>
Wed, 17 Mar 2004 23:08:48 +0000
(23:08 +0000)
committer
ivan
<ivan>
Wed, 17 Mar 2004 23:08:48 +0000
(23:08 +0000)
bin/shadow.reimport
patch
|
blob
|
history
diff --git
a/bin/shadow.reimport
b/bin/shadow.reimport
index
a02582d
..
2fc90d7
100755
(executable)
--- a/
bin/shadow.reimport
+++ b/
bin/shadow.reimport
@@
-93,6
+93,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\*/;