Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
0c74624c
Commit
0c74624c
authored
Jun 06, 2002
by
Leigh B. Stoller
Browse files
Minor fix for shell quoting when sending the empty string over via ssh
(for the -G arg to pw usermod).
parent
de79b3e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/setgroups.in
View file @
0c74624c
...
...
@@ -320,6 +320,8 @@ foreach my $uid (@userlist) {
print
"
Updating user
$uid
record on
$control_node
.
\n
";
if
(
$control_node
ne
$BOSSNODE
)
{
$groupargument
=~
s/\"/\\"/g
;
if
(
system
("
$SSH
-host
$control_node
"
.
"
'
$USERMOD
$uid
-g
$project
$groupargument
'
"))
{
fatal
("
Could not modify user
$uid
record on
$control_node
.
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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