Mailing List Archive

[Bug 686] sshd dies by non-root account session
http://bugzilla.mindrot.org/show_bug.cgi?id=686

Summary: sshd dies by non-root account session
Product: Portable OpenSSH
Version: 3.7.1p1
Platform: MIPS
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P3
Component: sshd
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: yuki@sse.co.jp
CC: yuki@sse.co.jp


A sshd built by IRIX v6.5.19m with c99 (MIPSPro v7.4) dies when non-root
user account establishes a session with openssh client. This does not
occurs when root establishes a session.

I found a problem in uidswap.c, and made a patch to fix this problem.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 686] sshd dies by non-root account session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=686





------- Additional Comments From yuki@sse.co.jp 2003-09-19 12:10 -------
Created an attachment (id=430)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=430&action=view)
patch for sshd v3.7.1p1 under IRIX Audit environment

Apply this patch as follows;

% gzcat openssh-3.7.1p1.tar.gz | tar xf -
% cd openssh-3.7.1p1
% patch < somewhere/patch.withIRIXAudit

Maybe some code cleaning up would be required, but this can correct
the problem temporally.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 686] sshd dies by non-root account session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=686





------- Additional Comments From dtucker@zip.com.au 2003-09-19 12:17 -------
Do the #defines in bug #659 solve it without this patch?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 686] sshd dies by non-root account session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=686





------- Additional Comments From yuki@sse.co.jp 2003-09-19 12:56 -------
I could fix my problem without appling the patch for bug #659.
(Sorry, I didnot refer bug #659 report during fixing this problem.)

I found sshd's UID is changed by setsatid() in openbsd-compat/port-irix.c,
the stored old UID must be changed by setsatid() again.

So, my answer is "Yes, but I know nothing about bug #659".



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 686] sshd dies by non-root account session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=686





------- Additional Comments From dtucker@zip.com.au 2003-09-22 13:15 -------
Please try tomorrow's snapshot. The patch from bug #659 has been applied, so if
the snapshot works as-is, please close the bug.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 686] sshd dies by non-root account session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=686

yuki@sse.co.jp changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED



------- Additional Comments From yuki@sse.co.jp 2003-10-01 12:21 -------
I confirmed no problems with 3.7.1p2.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 686] sshd dies by non-root account session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=686

yuki@sse.co.jp changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 686] sshd dies by non-root account session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=686

yuki@sse.co.jp changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.