diff options
author | 2013-03-09 17:40:57 +0000 | |
---|---|---|
committer | 2013-03-09 17:40:57 +0000 | |
commit | 5e01da8a31bc71be4c1cde9876a5e25eed8d3d9d (patch) | |
tree | 1a84b77dffb885703d3ead0edeaab948fd8e953f | |
parent | RAMDISKC wil be needed for alphabook1 (diff) | |
download | wireguard-openbsd-5e01da8a31bc71be4c1cde9876a5e25eed8d3d9d.tar.xz wireguard-openbsd-5e01da8a31bc71be4c1cde9876a5e25eed8d3d9d.zip |
Code has not fallen back to "nobody" in a very long time;
jca at wxcvbn.org
-rw-r--r-- | libexec/identd/identd.8 | 11 | ||||
-rw-r--r-- | libexec/identd/identd.c | 4 |
2 files changed, 5 insertions, 10 deletions
diff --git a/libexec/identd/identd.8 b/libexec/identd/identd.8 index bd392be2b57..7aeb9fc9131 100644 --- a/libexec/identd/identd.8 +++ b/libexec/identd/identd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: identd.8,v 1.28 2010/06/06 07:05:40 jmc Exp $ +.\" $OpenBSD: identd.8,v 1.29 2013/03/09 17:40:57 deraadt Exp $ .\" .\" Copyright (c) 1997, Jason Downs. All rights reserved. .\" @@ -27,7 +27,7 @@ .\" Copyright (c) 1992 Peter Eriksson, Lysator, Linkoping University. .\" This software has been released into the public domain. .\" -.Dd $Mdocdate: June 6 2010 $ +.Dd $Mdocdate: March 9 2013 $ .Dt IDENTD 8 .Os .Sh NAME @@ -174,12 +174,7 @@ switch to after binding itself to the TCP/IP port if running as a stand-alone daemon. .Nm runs as user -.Qq _identd -by default and falls back to -.Qq nobody -if the -.Qq _identd -user does not exist. +.Qq _identd . .It Fl v Log every request to syslog if .Fl l diff --git a/libexec/identd/identd.c b/libexec/identd/identd.c index 875baf174c2..f1c86735fe9 100644 --- a/libexec/identd/identd.c +++ b/libexec/identd/identd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: identd.c,v 1.50 2012/12/04 02:24:47 deraadt Exp $ */ +/* $OpenBSD: identd.c,v 1.51 2013/03/09 17:40:57 deraadt Exp $ */ /* * This program is in the public domain and may be used freely by anyone @@ -162,7 +162,7 @@ main(int argc, char *argv[]) openlog(__progname, LOG_PID, LOG_DAEMON); - /* runs as _identd if possible, fallback to "nobody" */ + /* runs as _identd */ if (getuid() == 0) { if ((pwd = getpwnam(DEFAULT_UID)) == NULL) error("no such user %s", DEFAULT_UID); |