summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-04-24 09:49:09 +1000
committerDamien Miller <djm@mindrot.org>2002-04-24 09:49:09 +1000
commit0150c658302729a7e9e87ad101b72db47090f3f0 (patch)
treeb3041be34c689a7f22b4b3da46a17c36268a73e2 /sshd.c
parent11ec28176e2eff06af7cc0b811b51cbb2792996b (diff)
- djm@cvs.openbsd.org 2002/04/23 22:16:29
[sshd.c] Improve error message; ok markus@ stevesk@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 2e21d3d4..8b1ebb46 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();