summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2002-04-23 22:16:30 +0000
committerDamien Miller <djm@cvs.openbsd.org>2002-04-23 22:16:30 +0000
commitb865d956cd2c0375d965fa7c792c8a1261333dfc (patch)
tree74e8b413b311291cad6b317d3f38b070e13f2cbb /usr.bin/ssh/sshd.c
parent788c17a4c0d006c73b009444e99488e3c5e83bfa (diff)
Improve error message; ok markus@ stevesk@
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r--usr.bin/ssh/sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 16361eebbe6..ec01386a148 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/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>
@@ -527,7 +527,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();