Tor: specify correct user for default configuration

Message ID 0d85765e-fce3-7512-7bda-fdf6f09d948e@ipfire.org
State Accepted
Commit 2df98063a246dc1f17bae7fd0e477d7f73e2319f
Headers
Series Tor: specify correct user for default configuration |

Commit Message

Peter Müller May 19, 2019, 12:40 a.m. UTC
  While being built with user/group set to "tor", the default
configuration still contains the old username.

This patch adjusts it to the correct value. The issue was
caused by insufficient testing, which I apologise for.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/tor/defaults-torrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Tremer May 20, 2019, 7:10 p.m. UTC | #1
Thanks. Merged.

> On 18 May 2019, at 15:40, Peter Müller <peter.mueller@ipfire.org> wrote:
> 
> While being built with user/group set to "tor", the default
> configuration still contains the old username.
> 
> This patch adjusts it to the correct value. The issue was
> caused by insufficient testing, which I apologise for.
> 
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> config/tor/defaults-torrc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/config/tor/defaults-torrc b/config/tor/defaults-torrc
> index 703d821fe..ee8f809d9 100644
> --- a/config/tor/defaults-torrc
> +++ b/config/tor/defaults-torrc
> @@ -1,3 +1,3 @@
> DataDirectory /var/lib/tor
> -User nobody
> +User tor
> Log notice syslog
> -- 
> 2.16.4
  

Patch

diff --git a/config/tor/defaults-torrc b/config/tor/defaults-torrc
index 703d821fe..ee8f809d9 100644
--- a/config/tor/defaults-torrc
+++ b/config/tor/defaults-torrc
@@ -1,3 +1,3 @@ 
 DataDirectory /var/lib/tor
-User nobody
+User tor
 Log notice syslog