linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Raj <raju@mailandnews.com>
To: linux-kernel@vger.kernel.org
Subject: Strange behavior observed w.r.t 'su' command
Date: Fri, 28 Nov 2003 14:00:46 +0530	[thread overview]
Message-ID: <3FC707B6.1070704@mailandnews.com> (raw)

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.

What could be wrong ? Or am i doing something which i shouldnt be doing ?

/Raj



             reply	other threads:[~2003-11-28  8:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-28  8:30 Raj [this message]
2003-11-28  9:15 ` Strange behavior observed w.r.t 'su' command 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
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=3FC707B6.1070704@mailandnews.com \
    --to=raju@mailandnews.com \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).