aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-08-21 17:07:52 +0000
committerBrad Davis <brd@FreeBSD.org>2018-08-21 17:07:52 +0000
commit541075a618224e50431824d139c3e5fbdc3cfe7e (patch)
tree5e525da13d3be1d50545a91cafda24086b1b6771 /libexec/ftpd
parent64be79ef76069b725c6c7a7b22425642b77a927a (diff)
downloadsrc-541075a618224e50431824d139c3e5fbdc3cfe7e.tar.gz
src-541075a618224e50431824d139c3e5fbdc3cfe7e.zip
Move ftpusers to libexec/ftpd/
Thsi helps with pkgbase by switching to CONFS so that ftpusers will be properly tagged as a config file. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16787
Notes
Notes: svn path=/head/; revision=338147
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/Makefile1
-rw-r--r--libexec/ftpd/ftpusers29
2 files changed, 30 insertions, 0 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 7d6f5bde445e..f3a52d08521d 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+CONFS= ftpusers
PROG= ftpd
MAN= ftpd.8 ftpchroot.5
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
diff --git a/libexec/ftpd/ftpusers b/libexec/ftpd/ftpusers
new file mode 100644
index 000000000000..96a751399532
--- /dev/null
+++ b/libexec/ftpd/ftpusers
@@ -0,0 +1,29 @@
+# $FreeBSD$
+#
+# list of users disallowed any ftp access.
+# read by ftpd(8).
+root
+toor
+daemon
+operator
+bin
+tty
+kmem
+games
+news
+ntpd
+man
+sshd
+smmsp
+mailnull
+bind
+unbound
+proxy
+_pflogd
+_dhcp
+uucp
+pop
+auditdistd
+www
+hast
+nobody