]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (djm) OpenBSD CVS Sync
authorDamien Miller <djm@mindrot.org>
Mon, 24 Feb 2003 00:50:18 +0000 (11:50 +1100)
committerDamien Miller <djm@mindrot.org>
Mon, 24 Feb 2003 00:50:18 +0000 (11:50 +1100)
   - markus@cvs.openbsd.org 2003/01/27 17:06:31
     [sshd.c]
     more specific error message when /var/empty has wrong permissions;
     bug #46, map@appgate.com; ok henning@, provos@, stevesk@

ChangeLog
sshd.c

index 00a854fc29c061b3429c48dade8222a8263cffba..7f4f4e7667a19223afe55f8c4c788116342e3866 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@
      dragging a window)
    - Perform server grab after we have the keyboard and/or pointer to avoid 
      races.
+ - (djm) OpenBSD CVS Sync
+   - markus@cvs.openbsd.org 2003/01/27 17:06:31
+     [sshd.c]
+     more specific error message when /var/empty has wrong permissions;
+     bug #46, map@appgate.com; ok henning@, provos@, stevesk@
 
 20030211
  - (djm) Cygwin needs libcrypt too. Patch from vinschen@redhat.com
      save auth method before monitor_reset_key_state(); bugzilla bug #284;
      ok provos@
 
-$Id: ChangeLog,v 1.2594 2003/02/24 00:48:22 djm Exp $
+$Id: ChangeLog,v 1.2595 2003/02/24 00:50:18 djm Exp $
diff --git a/sshd.c b/sshd.c
index 8a7ec6b8e7d2704c061e2b3862d1c864bb692344..ca2d4d1bc63b15f3cd5388156969890a46bf0a5e 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.261 2002/11/07 16:28:47 markus Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.262 2003/01/27 17:06:31 markus Exp $");
 
 #include <openssl/dh.h>
 #include <openssl/bn.h>
@@ -1066,8 +1066,8 @@ main(int ac, char **av)
 #else
                if (st.st_uid != 0 || (st.st_mode & (S_IWGRP|S_IWOTH)) != 0)
 #endif
-                       fatal("Bad owner or mode for %s",
-                           _PATH_PRIVSEP_CHROOT_DIR);
+                       fatal("%s must be owned by root and not group or "
+                           "world-writable.", _PATH_PRIVSEP_CHROOT_DIR);
        }
 
        /* Configuration looks good, so exit if in test mode. */