projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow !! for locked accounts instead of changing to *SUSPENDED*
[freeside.git]
/
bin
/
svc_acct.export
diff --git
a/bin/svc_acct.export
b/bin/svc_acct.export
index
822f70a
..
7e92c61
100755
(executable)
--- a/
bin/svc_acct.export
+++ b/
bin/svc_acct.export
@@
-1,6
+1,6
@@
#!/usr/bin/perl -w
#
#!/usr/bin/perl -w
#
-# $Id: svc_acct.export,v 1.2
0 2001-06-20 08:33:42
ivan Exp $
+# $Id: svc_acct.export,v 1.2
1 2001-07-30 06:07:46
ivan Exp $
#
# Create and export password files: passwd, passwd.adjunct, shadow,
# acp_passwd, acp_userinfo, acp_dialup, users
#
# Create and export password files: passwd, passwd.adjunct, shadow,
# acp_passwd, acp_userinfo, acp_dialup, users
@@
-38,7
+38,10
@@
# ivan@sisd.com 98-sep-18
#
# $Log: svc_acct.export,v $
# ivan@sisd.com 98-sep-18
#
# $Log: svc_acct.export,v $
-# Revision 1.20 2001-06-20 08:33:42 ivan
+# Revision 1.21 2001-07-30 06:07:46 ivan
+# allow !! for locked accounts instead of changing to *SUSPENDED*
+#
+# Revision 1.20 2001/06/20 08:33:42 ivan
# > Use of uninitialized value in concatenation (.) at svc_acct.export line
# > 276.
#
# > Use of uninitialized value in concatenation (.) at svc_acct.export line
# > 276.
#
@@
-191,6
+194,7
@@
foreach $svc_acct (@svc_acct) {
my($cpassword,$rpassword);
if ( ( length($password) <= 8 )
&& ( $password ne '*' )
my($cpassword,$rpassword);
if ( ( length($password) <= 8 )
&& ( $password ne '*' )
+ && ( $password ne '!!' )
&& ( $password ne '' )
) {
$cpassword=crypt($password,
&& ( $password ne '' )
) {
$cpassword=crypt($password,