aboutsummaryrefslogtreecommitdiffstats
path: root/community/vsftpd/vsftpd.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/vsftpd/vsftpd.pre-install')
-rwxr-xr-xcommunity/vsftpd/vsftpd.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/vsftpd/vsftpd.pre-install b/community/vsftpd/vsftpd.pre-install
new file mode 100755
index 0000000000..c6e45f1b71
--- /dev/null
+++ b/community/vsftpd/vsftpd.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S ftp 2>/dev/null
+addgroup vsftp ftp 2>/dev/null
+adduser -S -h /var/lib/ftp -s /sbin/nologin -G ftp -g vsftp vsftp 2>/dev/null
+
+exit 0