]> git.ipfire.org Git - thirdparty/tor.git/commit
added User and Group options -- if you set them, tor will try to
authorSteven Hazel <sah@freehaven.net>
Wed, 22 Oct 2003 06:03:11 +0000 (06:03 +0000)
committerSteven Hazel <sah@freehaven.net>
Wed, 22 Oct 2003 06:03:11 +0000 (06:03 +0000)
commitb1eca56b77ba1316eb23587341319fbbe2bc6560
tree1c38a5d88f170dd0aca2c221d9f2c8343258b304
parent524d63ecc62cc6e1dcaafd0ec2ad507328415c19
added User and Group options -- if you set them, tor will try to
setuid and setgid respectively, and die if it can't.

(If the User option is set, tor will setgid to the user's gid as well.)

This happens after the pidfile is created, so that in cases where tor
needs to be root to work with the pidfile, it will at least be able to
create it, although it won't be able to delete it.  That sucks, but
it's somewhat better than not being able to create the pidfile in the
first place.

svn:r652
configure.in
src/or/config.c
src/or/main.c
src/or/or.h