Re: Problem with "su -" and kernels 2.4.3-ac11 and higher

Albert D. Cahalan
2001-04-23T05:18:28Z

Wayne writes:
> In mailing-lists.linux-kernel, Manuel A. McLure wrote:

>> Did you try nesting more than one "su -"? The first one after a boot
>> works for me - every other one fails.
>
> Same here: the first "su -" works OK, but a second nested one hangs:
>
> 8825 pts/2 S 0:00 /bin/su -
> 8826 pts/2 S 0:00 -bash
> 8854 pts/2 T 0:00 stty erase ?
> 8855 pts/0 R 0:00 ps ax

Try this:

ps -t pts/2 -o pid,ppid,pgid,sess,f,stat,ruid,euid,fname,nwchan,wchan
ps -t pts/2 s

(replace "pts/2" as needed to select the right tty, and split that
first one into two commands if it is too long)