[tor-bugs] #2824 [Tor bundles/installation]: Make Linux TBB not fail in a non-obvious manner when run as root

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Aug 18 21:37:25 UTC 2011


#2824: Make Linux TBB not fail in a non-obvious manner when run as root
--------------------------------------+-------------------------------------
 Reporter:  rransom                   |          Owner:  erinn
     Type:  defect                    |         Status:  new  
 Priority:  normal                    |      Milestone:       
Component:  Tor bundles/installation  |        Version:       
 Keywords:                            |         Parent:       
   Points:                            |   Actualpoints:       
--------------------------------------+-------------------------------------

Comment(by rransom):

 To make TBB explicitly refuse to run as root, put the following command
 near the beginning of `start-tor-browser.sh`:

 {{{
 test "`id -u`" -eq 0 &&
 echo "Tor Browser Bundle should not be run as root.  Exiting." >&2 &&
 exit 2
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2824#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list