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

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Mon Apr 23 2001 - 00:17:52 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:44 EST