projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cee9575
)
remove arbitary uid requirement for vpasswd generation
author
jeff
<jeff>
Fri, 15 Feb 2002 20:21:56 +0000
(20:21 +0000)
committer
jeff
<jeff>
Fri, 15 Feb 2002 20:21:56 +0000
(20:21 +0000)
bin/svc_acct.export
patch
|
blob
|
history
diff --git
a/bin/svc_acct.export
b/bin/svc_acct.export
index
aeb49d2
..
cee63bc
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.3
1 2002-02-14 22:37:38
jeff Exp $
+# $Id: svc_acct.export,v 1.3
2 2002-02-15 20:21:56
jeff Exp $
#
# Create and export password, radius and vpopmail password files:
# passwd, passwd.adjunct, shadow, acp_passwd, acp_userinfo, acp_dialup
#
# Create and export password, radius and vpopmail password files:
# passwd, passwd.adjunct, shadow, acp_passwd, acp_userinfo, acp_dialup
@@
-350,20
+350,20
@@
foreach $svc_domain (sort {$a->domain cmp $b->domain} @svc_domain) {
'',
), "\n";
}
'',
), "\n";
}
+ }
-
###
-
# FORMAT OF THE VPASSWD FILE HERE
-
print VPASSWD join(":",
-
$svc_acct->username,
-
$cpassword,
-
'1',
-
'0',
-
$svc_acct->username,
-
"$vpopdir/domains/" . $svc_domain->domain ."/" . $svc_acct->username,
-
'NOQUOTA',
-
), "\n";
+ ###
+ # FORMAT OF THE VPASSWD FILE HERE
+ print VPASSWD join(":",
+ $svc_acct->username,
+ $cpassword,
+ '1',
+ '0',
+ $svc_acct->username,
+ "$vpopdir/domains/" . $svc_domain->domain ."/" . $svc_acct->username,
+ 'NOQUOTA',
+ ), "\n";
- }
if ( $svc_acct->slipip ne '' ) {
if ( $svc_acct->slipip ne '' ) {