[tor-relays] switching from root to unprivileged user

Zack Weinberg zackw at cmu.edu
Wed Feb 14 19:48:32 UTC 2018


On Wed, Feb 14, 2018 at 2:43 PM, Quintin <tor-admin at portaltodark.world> wrote:
> On Wed, Feb 14, 2018 at 7:34 PM George <george at queair.net> wrote:
>>
>> TorGate:
>> > is this a god ide tor running as root ?
>>
>> It doesn't run as root. root starts the daemon, then switches over to
>> unprivileged/nologin _tor user.
>
>
> Is this the case even if "ps -C tor u"  shows it runs as root?

No, 'ps' should show the unprivileged user. Check whether you have a
"User" setting in your torrc.  (I think George was referring
specifically to the way FreeBSD pkgsrc configures tor.)


More information about the tor-relays mailing list