diff options
author | Alexei Colin | 2016-03-06 20:57:05 -0500 |
---|---|---|
committer | Alexei Colin | 2016-03-06 20:57:35 -0500 |
commit | f2535f8bd55e7ef607fc84798f321900fb60d60b (patch) | |
tree | 91716ab116767915b84acd27279ce76bfb309ee9 /zeronet.install | |
parent | 1d9d9be04ea0bb48b6dd503855b2c5eb480ecf89 (diff) | |
download | aur-f2535f8bd55e7ef607fc84798f321900fb60d60b.tar.gz |
better instructions for Tor control auth
Persist across Tor restarts.
Diffstat (limited to 'zeronet.install')
-rw-r--r-- | zeronet.install | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/zeronet.install b/zeronet.install index e78d285d9802..e52190a1083e 100644 --- a/zeronet.install +++ b/zeronet.install @@ -8,7 +8,12 @@ post_install() { # Don't run thesre operations automatically, because they are security-sensitive echo ">>> Default mode is clearnet+Tor. Give zeronet permissions to configure hidden service:" echo ">>> sudo usermod -a -G tor zeronet" - echo ">>> sudo chmod g+x /var/lib/tor && sudo chmod g+r /var/lib/tor/control_auth_cookie" + echo ">>> sudo mkdir -m 750 /var/run/tor && sudo chown tor:tor /var/run/tor" + echo ">>> Add/edit the following options in /etc/tor/torrc:" + echo ">>> CookieAuth 1" + echo ">>> CookieAuthentication 1" + echo ">>> CookieAuthFileGroupReadable 1" + echo ">>> CookieAuthFile /var/run/tor/control_auth_cookie" echo ">>> Run daemon and check status:" echo ">>> sudo systemctl start zeronet" echo ">>> sudo systemctl status zeronet" |