]> andersk Git - gssapi-openssh.git/blobdiff - openssh/auth2.c
Import of OpenSSH 3.6.1p1
[gssapi-openssh.git] / openssh / auth2.c
index 17c58552a886b54e90dd631013ffc79a6895455d..1b21eb2dab7b25cf493996f09bdb4873a6c992bf 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.95 2002/08/22 21:33:58 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.96 2003/02/06 21:22:43 markus Exp $");
 
 #include "ssh2.h"
 #include "xmalloc.h"
@@ -205,8 +205,7 @@ userauth_finish(Authctxt *authctxt, int authenticated, char *method)
                    authctxt->user);
 
        /* Special handling for root */
-       if (!use_privsep &&
-           authenticated && authctxt->pw->pw_uid == 0 &&
+       if (authenticated && authctxt->pw->pw_uid == 0 &&
            !auth_root_allowed(method))
                authenticated = 0;
 
This page took 0.298483 seconds and 4 git commands to generate.