PermitRootLogin=yes no longer lets root login

Darren Tucker dtucker at
Thu Mar 6 09:48:09 EST 2003

Markus Friedl wrote:
> hm, password authentication for uid 0 should _only_
> be allowed for PERMIT_YES; so
>         if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)
>                 return 0;
> is ok, or what am i missing?

Yes, I thinks that's OK.

For a few days a month ago -portable had PERMIT_NO_PASSWD instead of
PERMIT_YES.  Damien acknowledged it as a bug and fixed it the same day
my original message was sent (30th of January).

Darren Tucker (dtucker at
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