PermitRootLogin=yes no longer lets root login

Darren Tucker dtucker at zip.com.au
Thu Mar 6 08:53:39 EST 2003


Markus Friedl wrote:
> On Thu, Jan 30, 2003 at 12:06:22AM +1100, Darren Tucker wrote:
> >  #ifndef HAVE_CYGWIN
> > -  if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)
> > +  if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_NO_PASSWD)
> >
> > Was this intentional?

> OpenBSD's code has
..
>    if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)
>        return 0;
..
> and this is intentional

Um... I was querying the change from PERMIT_YES to PERMIT_NO_PASSWD in
-portable, and AFAIK it was changed in error and has long since been
fixed (or have I missed something?)

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list