EvilZone

Hacking and Security => Anonymity and Privacy => : r33per September 09, 2012, 02:12:57 AM

: Using TOR Browser Bundle BT
: r33per September 09, 2012, 02:12:57 AM
Backtrack users only have one option when it comes to logging in and that's the root account, this saves typing sudo every time you want to run a privileged command but has it's down sides to.

some applications refuse to run on a root account TOR being one of them you open it up and get a snotty error message stating you shouldn't run as root this is dangerous blah blah.....

There is a way around this however download the TOR browser bundle from here (http://"https://www.torproject.org/projects/torbrowser.html.en") and extract to wherever you like.

Browse to the extracted folder and open up "start-tor-browser.sh" in a text editor Kwrite,nano etc. and find the line:
:
if [ "`id -u`" -eq 0 ]; then around line 110 if my memory serves....

There are two ways to proceed now (either way make sure the file is backed up)

either change
:
if [ "`id -u`" -eq 0 ]; then to
:
if [ "`id -u`" -eq 1 ]; then
or delete that entire if block, this has been known to cause some issues but worked in my case. save the file and you will now be able to run as root.
: Re: Using TOR Browser Bundle BT
: RedBullAddicted September 09, 2012, 10:26:59 AM
Why do you edit the configuration of tor instead of creating an unprivileged user and assign the necessary rights to it? I think there are reasons for not running tor as root on your box.


: Re: Using TOR Browser Bundle BT
: r33per September 09, 2012, 01:04:30 PM
There are risks associated with running things as root, but with BT especially there are some tools that require root permissions if I need to run these along side of TOR for some reason you can't unless you edit the file
: Re: Using TOR Browser Bundle BT
: iTpHo3NiX September 09, 2012, 08:06:50 PM
Simple solution

Don't use TOR its shite