Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I cannot get my head around a strange behaviour I observed on my Debian 6 system today. When I run tor, either via /etc/init.d/tor or directly via /sbin/tor, the new tor process drops its root privileges and sets its uid to the one of the debian-tor - user. Whilst this is a good thing, I fail to see why the application actually does so. My /etc/tor/torrc does not contain a corresponding User-configuration-entry. How does tor know to which uid it should fall back in the first place?

share|improve this question

debian-tor is hardcoded in the Tor executable by a Debian patch.

Run apt-get source tor and look in tor-

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.