[Bug 2354] New: please document that PermitRootLogin really checks for uid=0

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Feb 20 12:18:18 AEDT 2015


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

            Bug ID: 2354
           Summary: please document that PermitRootLogin really checks for
                    uid=0
           Product: Portable OpenSSH
           Version: 6.7p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Documentation
          Assignee: unassigned-bugs at mindrot.org
          Reporter: calestyo at scientia.net

Hey.

I just found out that PermitRootLogin has the feature of really
checking for UID=0 and not for the username "root"

I.e. it makes sense to have something like:
Match user toor
   PermitRootLogin no

Which would allow "root=0" to log in, but not e.g. the "toor=0" user to
log in, if it is an alternative root user.

:) nice feature! (bad name, though ^^)

Cheers,
Chris.

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


More information about the openssh-bugs mailing list