From: Andreas Schwab <schwab@suse.de>
To: Raj <raju@mailandnews.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Strange behavior observed w.r.t 'su' command
Date: Fri, 28 Nov 2003 11:33:48 +0100 [thread overview]
Message-ID: <jeoeuw7pf7.fsf@sykes.suse.de> (raw)
In-Reply-To: <3FC707B6.1070704@mailandnews.com> (Raj's message of "Fri, 28 Nov 2003 14:00:46 +0530")
Raj <raju@mailandnews.com> 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.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
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."
next prev parent reply other threads:[~2003-11-28 10:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-28 8:30 Raj
2003-11-28 9:15 ` Måns Rullgård
2003-11-28 10:57 ` Tim Cambrant
2003-11-28 10:54 ` Andre Tomt
2003-11-28 10:33 ` Andreas Schwab [this message]
2003-11-28 10:47 ` Måns Rullgård
2003-11-28 10:53 ` Andreas Schwab
2003-11-28 11:11 ` Måns Rullgård
2003-11-28 11:56 ` Andreas Schwab
2003-11-28 11:22 ` Raj
2003-11-28 11:52 ` Andreas Schwab
2003-11-28 9:39 Bradley Chapman
2003-11-28 9:54 ` Måns Rullgård
2003-11-28 9:59 ` Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jeoeuw7pf7.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=raju@mailandnews.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome