summaryrefslogtreecommitdiff
path: root/bin/svc_acct.export
diff options
context:
space:
mode:
authorivan <ivan>2001-07-30 06:07:47 +0000
committerivan <ivan>2001-07-30 06:07:47 +0000
commit6d49710a4eaaa51438b42059c2d97f1d99e7a243 (patch)
treeab1a08cc4921af91f217664553ca14cd9d7d3f91 /bin/svc_acct.export
parent1f74aa5510087acf5a8d0415f6efb690b0aa0c31 (diff)
allow !! for locked accounts instead of changing to *SUSPENDED*
Diffstat (limited to 'bin/svc_acct.export')
-rwxr-xr-xbin/svc_acct.export8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/svc_acct.export b/bin/svc_acct.export
index 822f70a9d..7e92c61e8 100755
--- a/bin/svc_acct.export
+++ b/bin/svc_acct.export
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# $Id: svc_acct.export,v 1.20 2001-06-20 08:33:42 ivan Exp $
+# $Id: svc_acct.export,v 1.21 2001-07-30 06:07:46 ivan Exp $
#
# 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 $
-# 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.
#
@@ -191,6 +194,7 @@ foreach $svc_acct (@svc_acct) {
my($cpassword,$rpassword);
if ( ( length($password) <= 8 )
&& ( $password ne '*' )
+ && ( $password ne '!!' )
&& ( $password ne '' )
) {
$cpassword=crypt($password,