summaryrefslogtreecommitdiff
path: root/gui/index.php
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-12-19 16:39:43 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-12-19 16:39:43 +0000
commitb002651ff9c2e3dd6ed8764823ae7d96322513ed (patch)
treeb37fcc5a7c204d860971cc7f0a25503bb479e63a /gui/index.php
parent3f90630218a0789627f0085489f081d62a2b4983 (diff)
rapid-tunneling: no more rapid-tunneling "user"
* suders entry runs as root. * use a sudoers.d file if possible (only thing in Debian). * Version bumped to 1.12. git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@10209 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'gui/index.php')
-rw-r--r--gui/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/index.php b/gui/index.php
index 423db56..7f3eecf 100644
--- a/gui/index.php
+++ b/gui/index.php
@@ -42,7 +42,7 @@ if (isset($_REQUEST["submit"]))
break;
}
# FIXME: insecure temporary file /tmp/ra.log
- system("sudo -H -u rapid-tunneling rapid-tunneling ".
+ system("sudo -H rapid-tunneling ".
$_FILES["filename"]["tmp_name"]." >/tmp/ra.log 2>&1", $ret);
if ($ret != 0)
$error = "Invalid or corrupt file. Please try again.";