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
621a40ff
Commit
621a40ff
authored
Dec 22, 2010
by
Robert Ricci
Browse files
Change vis-auth to run under suexec
parent
dfd2ca98
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/tbauth.php3
View file @
621a40ff
...
...
@@ -1067,7 +1067,9 @@ function DOLOGIN_MAGIC($uid, $uid_idx, $email = null, $adminon = 0)
# Proj-vis cookies
if
(
$EXP_VIS
)
{
setcookie
(
"exp_vis_session"
,
$opskey
,
0
,
"/"
,
$TBAUTHDOMAIN
,
0
);
exec
(
"
$TBLIBEXEC_DIR
/write-vis-auth > /dev/null 2>&1 &"
);
SUEXEC
(
$uid
,
"nobody"
,
"
$TBLIBEXEC_DIR
/write-vis-auth > /dev/null 2>&1 &"
,
$SUEXEC_ACTION_CONTINUE
);
}
return
0
;
...
...
@@ -1182,7 +1184,9 @@ function DOLOGOUT($user) {
#
if
(
$EXP_VIS
)
{
setcookie
(
"exp_vis_session"
,
""
,
$timeout
,
"/"
,
$TBAUTHDOMAIN
,
0
);
exec
(
"
$TBLIBEXEC_DIR
/write-vis-auth > /dev/null 2>&1 &"
);
SUEXEC
(
$uid
,
"nobody"
,
"
$TBLIBEXEC_DIR
/write-vis-auth > /dev/null 2>&1 &"
,
$SUEXEC_ACTION_CONTINUE
);
}
return
0
;
...
...
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