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

Albert D. Cahalan (acahalan@cs.uml.edu)
Mon, 23 Apr 2001 01:17:52 -0400 (EDT)


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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/