All of lore.kernel.org
 help / color / mirror / Atom feed
From: mru@kth.se (Måns Rullgård)
To: linux-kernel@vger.kernel.org
Subject: Re: Strange behavior observed w.r.t 'su' command
Date: Fri, 28 Nov 2003 10:15:50 +0100	[thread overview]
Message-ID: <yw1xekvs3lbt.fsf@kth.se> (raw)
In-Reply-To: 3FC707B6.1070704@mailandnews.com

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.

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

-- 
Måns Rullgård
mru@kth.se


  reply	other threads:[~2003-11-28  9:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-28  8:30 Strange behavior observed w.r.t 'su' command Raj
2003-11-28  9:15 ` Måns Rullgård [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
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=yw1xekvs3lbt.fsf@kth.se \
    --to=mru@kth.se \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.