Subject: Re: su and /bin/sh
To: None <sigsegv@rambler.ru>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 03/23/2005 12:44:09
In message <4241AA27.9080304@rambler.ru>, sigsegv@rambler.ru writes:
>Rui Paulo wrote:
>> On 2005-03-23, sigsegv@rambler.ru <sigsegv@rambler.ru> wrote:
>> 
>>>Yeah, I noticed this a week ago I think, on sparc64. I thought it was 
>>>only affecting sparc64 port as they're changing to wscons or something, 
>>>but looks like the bug is somewhere else. I see the same behaviour via ssh:
>>>
>>>vmstat -c 10 1
>>>
>>>before vmstat finished outputting 10 lines, hit CTRL-C and it will not 
>>>terminate the process
>> 
>> 
>> On i386, this behaviour is only visible when doing executing 'su -'.
>> My sh doesn't have the regression tests fixes.
>> 
>> 
>Are you saying it's /bin/sh misbehaving? If it is, then I suppose 
>running /bin/ksh would be a workaround.
>
It's not /bin/sh; I saw this with /bin/ksh as my root shell.

		--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb