Commit be6a4277 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix a quoting error caused by new sshtb.

parent 95b5e7d9
......@@ -225,7 +225,7 @@ if (system("$SSH -host $control_node egrep -q -s '^${user}:' /etc/passwd")) {
print "Adding user $user ($user_number) to $control_node.\n";
if (system("$SSH -host $control_node ".
"'$USERADD $user -u $user_number -c \"$fullname\" ".
"'$USERADD $user -u $user_number -c \\\"$fullname\\\" ".
"-k /usr/share/skel -m -d $HOMEDIR/$user ".
"-g $default_groupname -s /bin/tcsh'")) {
fatal("Could not add user $user ($user_number) to $control_node.\n");
......@@ -238,7 +238,7 @@ else {
# MAKE SURE not to update anything else!
#
if (system("$SSH -host $control_node ".
"'$USERMOD $user -c \"$fullname\"'")) {
"'$USERMOD $user -c \\\"$fullname\\\"'")) {
fatal("Could not modify user $user record on $control_node.");
}
}
......
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