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