Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Run apt-get source tor and look in tor-0.2.1.30/debian/patches/06_add_compile_time_defaults.dpatch.

share|improve this answer

Your Answer

 
discard

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.