summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-04-17 19:45:44 +0000
committerhenning <henning@openbsd.org>2004-04-17 19:45:44 +0000
commit2989425f8b8ef1922c7b43be4ff6192b5565d48a (patch)
treefe4b2c87a8ec8b27d6b4af4c8277c89efda42f0d
parentnew user/group _tftpd, theo ok (diff)
downloadwireguard-openbsd-2989425f8b8ef1922c7b43be4ff6192b5565d48a.tar.xz
wireguard-openbsd-2989425f8b8ef1922c7b43be4ff6192b5565d48a.zip
no no no nobody, _tftpd is better, theo ok
-rw-r--r--libexec/tftpd/tftpd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c
index f235aa58748..b09695b7f9b 100644
--- a/libexec/tftpd/tftpd.c
+++ b/libexec/tftpd/tftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tftpd.c,v 1.32 2004/01/27 02:25:30 deraadt Exp $ */
+/* $OpenBSD: tftpd.c,v 1.33 2004/04/17 19:45:44 henning Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -37,7 +37,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)tftpd.c 5.13 (Berkeley) 2/26/91";*/
-static char rcsid[] = "$OpenBSD: tftpd.c,v 1.32 2004/01/27 02:25:30 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: tftpd.c,v 1.33 2004/04/17 19:45:44 henning Exp $";
#endif /* not lint */
/*
@@ -175,9 +175,9 @@ main(int argc, char *argv[])
ndirs++;
}
- pw = getpwnam("nobody");
+ pw = getpwnam("_tftpd");
if (!pw) {
- syslog(LOG_ERR, "no nobody: %m");
+ syslog(LOG_ERR, "no _tftpd: %m");
exit(1);
}