[sudo-users] Understanding why processes launched by sudo do not inherit the controlling terminal
jon.seymour at gmail.com
Fri Jun 19 09:08:46 EDT 2009
I tracked down a RedHat bug report about this very issue which was
closed as not a defect. [do not have reference handy right now]. It
was closed for the completely spurious reason that no-one could
possibly wish to
invoke an an interactives shell from a command launched with su -c.
I shall attempt to do battle with this mind-bendingly closed-minded
myopia in the appropriate forum. Grrr!
On 19/06/2009, at 1:35 AM, "Todd C. Miller"
<Todd.Miller at courtesan.com> wrote:
> In message <2cfc40320906180756p648260cdjc8e1ebc18694da1c at mail.gmail.com
> so spake Jon Seymour (jon.seymour):
>> In other words, it has nothing to do with sudo at all - it's su
>> behaviour. Mmm. How strange.
>> Thanks very much for suggestion that, since it has got me a lot
>> to understanding the issue. If you have any ideas about what to look
>> at next, I'd certainly love to hear them!
> This is probably related to the problems seen here:
> One person reported that the problem was caused by a PAM-related
> patch RedHat made to coreutils (which includes su).
> - todd
More information about the sudo-users