[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#442077: marked as done (su + ssh + false kills $PPID?)

Your message dated Thu, 13 Sep 2007 09:56:20 +0800
with message-id <87zlzrwcor.fsf@jidanni.org>
and subject line Bug#442077: su + ssh + false kills $PPID?
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: openssh-client
Version: 1:4.6p1-5
Severity: normal
File: /usr/bin/ssh

Why does this script not finish, only when using su, and only when
using ssh?

# cat script
su my_username_here <<\EOEOE
set -x
echo $- #no -e here, see
ssh $remote false #Why does this signal the parent to bomb out?
echo never got here

--- End Message ---
--- Begin Message ---
C> Because ssh, like its predecessor rsh, consumes its standard input
C> unless given the -n option.  Its standard input is the same as its
C> parent's:  the contents of the here document.
OK. How crafty.

--- End Message ---

Reply to: