aboutsummaryrefslogtreecommitdiffstats
path: root/testing/proftpd/proftpd.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/proftpd/proftpd.pre-install')
-rw-r--r--testing/proftpd/proftpd.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/proftpd/proftpd.pre-install b/testing/proftpd/proftpd.pre-install
new file mode 100644
index 0000000000..53c0d9c6df
--- /dev/null
+++ b/testing/proftpd/proftpd.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S proftpd 2>/dev/null
+adduser -S -D -h /var/lib/ftp -s /sbin/nologin -G proftpd -g proftpd proftpd 2>/dev/null
+adduser proftpd ftp 2>/dev/null
+
+exit 0