[Bug 383] PublicKeyAuthentication failure when rlogin set to false

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Aug 23 18:09:24 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=383





------- Additional Comments From j.petersen at msh.de  2002-08-23 18:09 -------
This ist my Workaround:
--- auth.c.orig Wed Oct  3 19:55:27 2001
+++ auth.c      Mon Nov 12 10:43:49 2001
@@ -158,7 +158,7 @@
        }

 #ifdef WITH_AIXAUTHENTICATE
-       if (loginrestrictions(pw->pw_name, S_RLOGIN, NULL, &loginmsg) != 0) {
+       if ((pw->pw_uid != 0) && (loginrestrictions(pw->pw_name, S_RLOGIN, NULL,
&loginmsg) != 0)) {
                if (loginmsg && *loginmsg) {
                        /* Remove embedded newlines (if any) */
                        char *p;

Not accepted by OpenSSH-developers, but what most AIX-Admins seem to need:
Close out root by all AIX-means, but let him in by ssh-only...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list