Преглед изворни кода

Start Tor as root.

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


svn:r13686
Peter Palfrader пре 16 година
родитељ
комит
e25683fe3d
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 1
      debian/changelog
  2. 0 1
      debian/tor.init

+ 3 - 1
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 <weasel@debian.org>  Sat, 23 Feb 2008 13:44:56 +0100
+ -- Peter Palfrader <weasel@debian.org>  Sat, 23 Feb 2008 13:50:14 +0100
 
 tor (0.2.0.19-alpha-1) experimental; urgency=low
 

+ 0 - 1
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