summaryrefslogtreecommitdiffstats
path: root/network/tor/README
diff options
context:
space:
mode:
Diffstat (limited to 'network/tor/README')
-rw-r--r--network/tor/README21
1 files changed, 20 insertions, 1 deletions
diff --git a/network/tor/README b/network/tor/README
index 6340505979..962229ae97 100644
--- a/network/tor/README
+++ b/network/tor/README
@@ -5,4 +5,23 @@ SSH, and other applications that use the TCP protocol. Tor also
provides a platform on which software developers can build new
applications with built-in anonymity, safety, and privacy features.
-Tor requires the libevent library which is also available from SlackBuilds.org.
+This script requires a 'tor' user/group to exist before running.
+The recommended UID/GID is 220. You can create these like so:
+ groupadd -g 220 tor
+ useradd -u 220 -g 220 -c "The Onion Router" -d /dev/null -s /bin/false tor
+
+You can pass another user/group to the script, this is however, less safe:
+ TOR_USER=nobody TOR_GROUP=nogroup sh tor.SlackBuild
+
+The following can be used to start/stop tor automatically:
+/etc/rc.d/rc.local
+ if [ -x /etc/rc.d/rc.tor ]; then
+ /etc/rc.d/rc.tor start
+ fi
+
+/etc/rc.d/rc.local_shutdown
+ if [ -x /etc/rc.d/rc.tor ]; then
+ /etc/rc.d/rc.tor stop
+ fi
+
+Tor requires the libevent library, available from SlackBuilds.org.