[lkml]   [2003]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Strange behavior observed w.r.t 'su' command
Raj <> 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.

Nothing unusual, you just have two shells competing with each other on the
terminal. Don't use kill -9 unless you know what you are doing.


Andreas Schwab, SuSE Labs,
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [W:0.072 / U:8.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site