Re: Strange behavior observed w.r.t 'su' command

From: Måns Rullgård
Date: Fri Nov 28 2003 - 04:16:59 EST


Raj <raju@xxxxxxxxxxxxxxx> writes:

> hi, i am not sure if this is a kernel problem or an 'su' related
> issue, but this is what i have observed. Tried on 2.4.20-8 ( RH 9.0
> kernel ) and latest 2.6.0-test11.
>
> - log in as any normal user. ( on Console.).
> - su - root
> - from root prompt, run 'ps' and check the pid of 'su'.
> - kill -9 <pid of su>
> After the kill command, strangely my keyboard switches to unbuffered
> mode ( a key press is processed immediately ). Also, i alternate
> between the root prompt and the normal user prompt.
> Every key press switches from root prompt to normal user prompt and
> vice versa. Typing 'whoami' at the respective prompts displays 'normal
> user' and 'root' for the respective prompts.

I can't reproduce it on Slackware running 2.6.0-test10. It's probably
a redhat thing.

--
Måns Rullgård
mru@xxxxxx

-
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/