[Bug 120] New: sshd fails pty chown() when run as non-root userid

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Feb 18 18:58:37 EST 2002


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

           Summary: sshd fails pty chown() when run as non-root userid
           Product: Portable OpenSSH
           Version: 3.0.2p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: idallen at freenet.carleton.ca


I have to run a private copy of sshd (on AIX) as non-root because the local
admin won't install the real thing.
As non-root, I can't chown() ptys.  The sshd function pty_setowner() fails and
so does sshd
when I try an interactive (shell) login.  The chown() should not be attempted if
sshd is running as non-root.
(All the occurrences of chown() in sshpty.c need this checking.)



------- 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