aboutsummaryrefslogtreecommitdiffstats
path: root/community/vsftpd/vsftpd.pre-install
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-16 02:26:02 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-23 12:07:30 -0300
commit41ab224df12b8487004a1522b4f671680c082954 (patch)
tree9ebbc4ea5d1cfb82757ca1fd862b67e444a712a2 /community/vsftpd/vsftpd.pre-install
parent1f40937c55d742c7ae05db34c966c3dd2d6595e7 (diff)
community/*: move lots of stuff from main and modernize
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 00000000000..c6e45f1b71a
--- /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