projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b569043
)
use pwd_mkdb to install /etc/master.passwd.new instead of moving it into place
author
ivan
<ivan>
Wed, 12 Dec 2001 07:59:33 +0000
(07:59 +0000)
committer
ivan
<ivan>
Wed, 12 Dec 2001 07:59:33 +0000
(07:59 +0000)
bin/svc_acct.export
patch
|
blob
|
history
diff --git
a/bin/svc_acct.export
b/bin/svc_acct.export
index
8c408a2
..
3ac7a4f
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
7 2001-12-11 10:38:56
ivan Exp $
+# $Id: svc_acct.export,v 1.2
8 2001-12-12 07:59:33
ivan 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
@@
-573,7
+573,8
@@
foreach $bsdshellmachine (@bsdshellmachines) {
ssh("root\@$bsdshellmachine",
"( ".
"mv /etc/passwd.new /etc/passwd; ".
ssh("root\@$bsdshellmachine",
"( ".
"mv /etc/passwd.new /etc/passwd; ".
- "mv /etc/master.passwd.new /etc/master.passwd; ".
+ #"mv /etc/master.passwd.new /etc/master.passwd; ".
+ "pwd_mkdb /etc/master.passwd.new; ".
" )"
)
== 0 or die "ssh error: $!";
" )"
)
== 0 or die "ssh error: $!";