Implement privilege dropping
authorMichael Tokarev <mjt@corpit.ru>
Mon, 18 May 2009 12:25:41 +0000 (16:25 +0400)
committerGuus Sliepen <guus@sliepen.eu.org>
Mon, 18 May 2009 12:34:24 +0000 (14:34 +0200)
Add two options, -R/--chroot and -U/--user=user, to chroot to the
config directory (where tinc.conf is located) and to perform
setuid to the user specified, after all the initialization is done.

What's left is handling of pid file since we can't remove it anymore.


No differences found