Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
424d948e
Commit
424d948e
authored
Jan 09, 2003
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proper (perhaps) quoting for new password encryption ("modular").
parent
1d19363a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tbsetup/mkacct.in
tbsetup/mkacct.in
+3
-2
No files found.
tbsetup/mkacct.in
View file @
424d948e
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -348,8 +348,9 @@ if ($control_node ne $BOSSNODE) {
}
print
"
Updating user
$user
password on
$control_node
.
\n
";
$pswd
=~
s/\$/\\\\\\\$/g
;
if
(
system
("
$SSH
-host
$control_node
$CHPASS
-p
$pswd
$user
"))
{
if
(
system
("
$SSH
-host
$control_node
$CHPASS
-p
'
$pswd
'
$user
"))
{
fatal
("
Could not change password for user
$user
on
$control_node
.
\n
");
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment