[Bug 2061] Request for PermitRootLogin to be enforced prior to credential check

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jan 15 19:29:42 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2061

--- Comment #1 from V. Ram <vram at tradermail.info> ---
Created attachment 2208
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2208&action=edit
Patch to auth2.c to move check to see if permissible root login is
being attempted prior to calling m->userauth

I apologize ahead of time for any whitespace, formatting, or style
screwups.  I basically moved the check being done for whether the user
is root and the method is permitted by the configuration out of
userauth_finish(...) and up into input_userauth_request(...).  This
should satisfy the gist of what I'm asking.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list