diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-02 15:45:00 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-02 15:45:00 -0500 |
commit | fd8947afc2815cc3316513fe4461d8d8096eddea (patch) | |
tree | cdc6d28292a882b2afe1285bbf8ecfa379344fc7 /src/or/config.c | |
parent | 09ccc4c4a3b67695295ad95f24b2f102d5f2fa1a (diff) | |
download | tor-fd8947afc2815cc3316513fe4461d8d8096eddea.tar.gz tor-fd8947afc2815cc3316513fe4461d8d8096eddea.zip |
Move the friendly warning about TPROXY and root to EPERM time
I'm doing this because:
* User doesn't mean you're running as root, and running as root
doesn't mean you've set User.
* It's possible that the user has done some other
capability-based hack to retain the necessary privileges.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/config.c b/src/or/config.c index a2366c06fa..c921bb7317 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2540,13 +2540,6 @@ options_validate(or_options_t *old_options, or_options_t *options, REJECT("Cannot use TransTPROXY without any valid TransPort or " "TransListenAddress."); } - /* Friendly suggestion about running as root initially. */ - if (!options->User) { - log_warn(LD_CONFIG, - "You have enabled TransTPROXY but have not specified the " - "\"User\" option. TransTPROXY will not function without " - "root privileges."); - } } #else if (options->TransPort_set || options->TransTPROXY) |