Skip to content
GitLab
Menu
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
57fe6cb7
Commit
57fe6cb7
authored
May 27, 2012
by
Leigh B Stoller
Browse files
Add sanity to make sure installed setuid.
parent
9f8f9e6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/xmlrpc/protogeni-wrapper.pl.in
View file @
57fe6cb7
...
@@ -125,6 +125,13 @@ if ($MAINSITE) {
...
@@ -125,6 +125,13 @@ if ($MAINSITE) {
}
}
}
}
#
# Sanity check.
#
if
(
$EUID
!=
0
)
{
XMLError
(
503
,
"
Server configuration error; please try again later
");
}
#
#
# Make sure the client presented a valid certificate that apache says
# Make sure the client presented a valid certificate that apache says
# is okay.
# is okay.
...
...
Write
Preview
Supports
Markdown
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