diff options
author | sebastia <sebastia@openbsd.org> | 2015-12-04 19:05:43 +0000 |
---|---|---|
committer | sebastia <sebastia@openbsd.org> | 2015-12-04 19:05:43 +0000 |
commit | 438e85a9cca85562d08ad4098d074bfc40088068 (patch) | |
tree | 3d73f2b5a49d23daf2347a619833235063677139 /usr.sbin/ftp-proxy | |
parent | sync (diff) | |
download | wireguard-openbsd-438e85a9cca85562d08ad4098d074bfc40088068.tar.xz wireguard-openbsd-438e85a9cca85562d08ad4098d074bfc40088068.zip |
Make the NOPRIV_USER match that is actually intended to be used for
that. Problem introduced since tftp-proxy and ftp-proxy have separate
nonpriv users.
OK deraadt@
Diffstat (limited to 'usr.sbin/ftp-proxy')
-rw-r--r-- | usr.sbin/ftp-proxy/ftp-proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ftp-proxy/ftp-proxy.c b/usr.sbin/ftp-proxy/ftp-proxy.c index 5706d85fbac..44718d68f8b 100644 --- a/usr.sbin/ftp-proxy/ftp-proxy.c +++ b/usr.sbin/ftp-proxy/ftp-proxy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftp-proxy.c,v 1.31 2015/12/01 07:32:37 deraadt Exp $ */ +/* $OpenBSD: ftp-proxy.c,v 1.32 2015/12/04 19:05:43 sebastia Exp $ */ /* * Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl> @@ -52,7 +52,7 @@ #define TCP_BACKLOG 10 #define CHROOT_DIR "/var/empty" -#define NOPRIV_USER "ftp-proxy" +#define NOPRIV_USER "_ftp_proxy" /* pfctl standard NAT range. */ #define PF_NAT_PROXY_PORT_LOW 50001 |