Hi,
The user of ftp-proxy(8) for privdrop is _ftp_proxy. The man page has
a typo in the username mentionned.
src/usr.sbin/ftp-proxy/ftp-proxy.c
54
55 #define CHROOT_DIR "/var/empty"
56 #define NOPRIV_USER "_ftp_proxy"
57
Thanks.
--
Sebastien Marie
Index: ftp-proxy.8
===================================================================
RCS file: /cvs/src/usr.sbin/ftp-proxy/ftp-proxy.8,v
retrieving revision 1.22
diff -u -p -r1.22 ftp-proxy.8
--- ftp-proxy.8 4 Jan 2016 18:03:09 -0000 1.22
+++ ftp-proxy.8 15 Jan 2017 06:10:02 -0000
@@ -82,7 +82,7 @@ pass out from $client to $server port $p
.Ed
.Pp
.Nm
-chroots to "/var/empty" and changes to user "_ftp-proxy" to drop privileges.
+chroots to "/var/empty" and changes to user "_ftp_proxy" to drop privileges.
.Pp
The options are as follows:
.Bl -tag -width Ds