linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Strange behavior observed w.r.t 'su' command
@ 2003-11-28  9:39 Bradley Chapman
  2003-11-28  9:54 ` Måns Rullgård
  2003-11-28  9:59 ` Raj
  0 siblings, 2 replies; 14+ messages in thread
From: Bradley Chapman @ 2003-11-28  9:39 UTC (permalink / raw)
  To: Mans Rullgard; +Cc: linux-kernel

Mr. Rullgard,

Confirmed. I have a Red Hat 9 system running 2.6.0-test11 with glibc 2.3.2-82
and coreutils 4.5.3-19.0.2. Killing su with SIGKILL does put the keyboard into
unbuffered mode and does alternate the prompts. No error messages appear in dmesg.

Brad

=====


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Strange behavior observed w.r.t 'su' command
@ 2003-11-28  8:30 Raj
  2003-11-28  9:15 ` Måns Rullgård
  2003-11-28 10:33 ` Andreas Schwab
  0 siblings, 2 replies; 14+ messages in thread
From: Raj @ 2003-11-28  8:30 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-11-28 11:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28  9:39 Strange behavior observed w.r.t 'su' command Bradley Chapman
2003-11-28  9:54 ` Måns Rullgård
2003-11-28  9:59 ` Raj
  -- strict thread matches above, loose matches on Subject: below --
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
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

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).