aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sthttpd/sthttpd.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sthttpd/sthttpd.pre-install')
-rw-r--r--testing/sthttpd/sthttpd.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/sthttpd/sthttpd.pre-install b/testing/sthttpd/sthttpd.pre-install
new file mode 100644
index 00000000000..47dd3b06632
--- /dev/null
+++ b/testing/sthttpd/sthttpd.pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+addgroup -S -g 82 www-data 2>/dev/null
+adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin \
+ -g thttpd thttpd 2>/dev/null
+addgroup thttpd www-data 2>/dev/null
+
+exit 0