[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13686: Start Tor as root. Change the init script to start Tor as ro (tor/trunk/debian)



Author: weasel
Date: 2008-02-23 07:59:59 -0500 (Sat, 23 Feb 2008)
New Revision: 13686

Modified:
   tor/trunk/debian/changelog
   tor/trunk/debian/tor.init
Log:
Start Tor as root.

Change the init script to start Tor as root so we can bind to low ports.


Modified: tor/trunk/debian/changelog
===================================================================
--- tor/trunk/debian/changelog	2008-02-23 12:59:52 UTC (rev 13685)
+++ tor/trunk/debian/changelog	2008-02-23 12:59:59 UTC (rev 13686)
@@ -13,8 +13,10 @@
   * 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 <weasel@xxxxxxxxxx>  Sat, 23 Feb 2008 13:44:56 +0100
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Sat, 23 Feb 2008 13:50:14 +0100
 
 tor (0.2.0.19-alpha-1) experimental; urgency=low
 

Modified: tor/trunk/debian/tor.init
===================================================================
--- tor/trunk/debian/tor.init	2008-02-23 12:59:52 UTC (rev 13685)
+++ tor/trunk/debian/tor.init	2008-02-23 12:59:59 UTC (rev 13686)
@@ -116,7 +116,6 @@
 	fi
 
 	start-stop-daemon --start --quiet --oknodo \
-		--chuid debian-tor:debian-tor \
 		--pidfile $TORPID \
 		$NICE \
 		--exec $DAEMON -- $ARGS