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-stable
Commits
2370de25
Commit
2370de25
authored
Jun 21, 2002
by
Robert Ricci
Browse files
Added admin permission check. Not really a dangerous script, since it
doesn't change anything, but could be a mild information leak.
parent
0ddfe310
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/interswitch.in
View file @
2370de25
...
...
@@ -7,6 +7,11 @@ use lib '@prefix@/lib';
use
libdb
;
use
English
;
if
(
!
TBAdmin
(
$UID
))
{
die
("
*** $0:
\n
"
.
"
You must be a TB administrator to use this program
\n
");
}
my
(
$virtual
,
$id
,
$pideid
,
$members
);
print
<<
"
END
";
ID
Project
/Experiment Link/
LAN
Switches
(
number
of
members
in
parens
)
...
...
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