Commit 5d68c3df authored by Leigh Stoller's avatar Leigh Stoller

Fix another shell quoting problem caused by changes in sshtb.

parent 294c27db
......@@ -392,7 +392,7 @@ sub DelUser()
sub UpdatePassword()
{
# shell escape.
$pswd =~ s/\$/\\\\\\\$/g;
$pswd =~ s/\$/\\\$/g;
#
# Check status. Ignore if user is not active.
......@@ -402,6 +402,8 @@ sub UpdatePassword()
return 0;
}
print "$pswd\n";
$UID = 0;
if ($CONTROL ne $BOSSNODE) {
print "Updating user $user password on $CONTROL.\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment