summaryrefslogtreecommitdiffstats
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-04-24 01:49:09 +0200
committerDamien Miller <djm@mindrot.org>2002-04-24 01:49:09 +0200
commit0150c658302729a7e9e87ad101b72db47090f3f0 (patch)
treeb3041be34c689a7f22b4b3da46a17c36268a73e2 /sshd.c
parent - (djm) OpenBSD CVS Sync (diff)
downloadopenssh-0150c658302729a7e9e87ad101b72db47090f3f0.tar.xz
openssh-0150c658302729a7e9e87ad101b72db47090f3f0.zip
- djm@cvs.openbsd.org 2002/04/23 22:16:29
[sshd.c] Improve error message; ok markus@ stevesk@
Diffstat (limited to '')
-rw-r--r--sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 2e21d3d4e..8b1ebb462 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.239 2002/03/30 18:51:15 markus Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.240 2002/04/23 22:16:29 djm Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -536,7 +536,8 @@ privsep_preauth_child(void)
demote_sensitive_data();
if ((pw = getpwnam(SSH_PRIVSEP_USER)) == NULL)
- fatal("%s: no user", SSH_PRIVSEP_USER);
+ fatal("Privilege separation user %s does not exist",
+ SSH_PRIVSEP_USER);
memset(pw->pw_passwd, 0, strlen(pw->pw_passwd));
endpwent();