[Bug 759] If sshd was started without explicit pathname, it dies when restarted
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sun Nov 16 03:01:33 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=759
Summary: If sshd was started without explicit pathname, it dies
when restarted
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: martin at freaknet.org
Hi!
We just had a major panic being unable to access our site server via ssh for
a day. We thought we'd have to get on a plane and go physically to where it is
hosted but fortunately one of our gurus managed to find some security exploits
to get in and restart sshd.
The cause turned out to be that someone had installed the latest version of
OpenSSH, had killed and restarted sshd by saying "sshd"... one and a half months
later, I came to reconfigure it, kill -HUPped it, and it just died because there
was no "sshd" in its current directory. I didn't notice and logged out.
Consequence: machine unaccessible to fix it (it's hosted in another country from
where everybody lives).
The fix is for the restart code to allow for this possibility and, if argv[0]
doesn't contain any / characters, to try execvp after the initial execv in sshd.c
If I can find a button that says "attach", I'll attach the diffs...
All the best!
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list