From e25683fe3d0f1f11a3914d147057570a6c686b2f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 23 Feb 2008 12:59:59 +0000 Subject: [PATCH] Start Tor as root. Change the init script to start Tor as root so we can bind to low ports. svn:r13686 --- debian/changelog | 4 +++- debian/tor.init | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 19fe5302ed..4922ad53ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,8 +13,10 @@ tor (0.2.0.19-alpha+svn-1) unreleased; urgency=low * If we run as root also apply debian defaults. * Add User=debian-tor and Group=debian-tor to debian defaults. That allows us to start Tor as root and have it setuid/setgid to the target user. + * Change the init script to start Tor as root. Now we should be able to + bind to low port. - -- Peter Palfrader Sat, 23 Feb 2008 13:44:56 +0100 + -- Peter Palfrader Sat, 23 Feb 2008 13:50:14 +0100 tor (0.2.0.19-alpha-1) experimental; urgency=low diff --git a/debian/tor.init b/debian/tor.init index d026240aaf..38712ceb7a 100644 --- a/debian/tor.init +++ b/debian/tor.init @@ -116,7 +116,6 @@ case "$1" in fi start-stop-daemon --start --quiet --oknodo \ - --chuid debian-tor:debian-tor \ --pidfile $TORPID \ $NICE \ --exec $DAEMON -- $ARGS