summaryrefslogtreecommitdiffstats
path: root/testing/tor/tor.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tor/tor.pre-install')
-rw-r--r--testing/tor/tor.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/tor/tor.pre-install b/testing/tor/tor.pre-install
new file mode 100644
index 000000000..e03698458
--- /dev/null
+++ b/testing/tor/tor.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+adduser -h /var/run/tor -s /sbin/nologin -S -D tor 2>/dev/null
+exit 0
+