Re: 2.6.25.3: su gets stuck for root

From: Harald Dunkel
Date: Wed May 14 2008 - 00:55:53 EST


Willy Tarreau wrote:

even as root ? Because if you run strace on "su" as a user, you will
lose the setuid which may change the conditions.


It gets stuck _only_ if I am root. Running su without root permission
is no problem.

As written before, If I kick out the "stty intr '^C'" from root's
.bashrc, then the second su succeeds. Running the stty command
manually in this new shell is no problem.

Can you reproduce this problem? It doesn't need XWindow or any
special user. Simply login as root on tty2, and run "su". If it
gets stuck, then you could login on tty3 and kill -9 ### the blocking
stty.


Regards

Harri

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