* [gentoo-user] Root shell terminates after first keystroke
@ 2008-03-22 3:15 Tim
2008-03-22 4:29 ` Eric Martin
0 siblings, 1 reply; 3+ messages in thread
From: Tim @ 2008-03-22 3:15 UTC (permalink / raw
To: gentoo-user
Tonight, for no apparent reason, a problem has started cropping up when
I 'sudo su'. The root shell will start up fine, but after the first time
I hit a key, the shell terminates - apparently normally. A sample try
looks like this (I begin to type "emerge", with little success):
tim@wozniak ~ $ sudo su
wozniak tim # eexit
tim@wozniak ~ $
This occurs no matter how long I wait before hitting a key. Using 'su'
without the preceding 'sudo' will let me into a normal root shell
without the problem occurring. The problem also occurs only in Konsole,
not at a tty. I should mention, based on this, that I'm running KDE4.
How might I go about fixing this?
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Root shell terminates after first keystroke
2008-03-22 4:29 ` Eric Martin
@ 2008-03-22 3:36 ` Tim
0 siblings, 0 replies; 3+ messages in thread
From: Tim @ 2008-03-22 3:36 UTC (permalink / raw
To: gentoo-user
Eric Martin wrote:
> Tim wrote:
>> Tonight, for no apparent reason, a problem has started cropping up when
>> I 'sudo su'. The root shell will start up fine, but after the first time
>> I hit a key, the shell terminates - apparently normally. A sample try
>> looks like this (I begin to type "emerge", with little success):
>
>> tim@wozniak ~ $ sudo su
>> wozniak tim # eexit
>> tim@wozniak ~ $
>
>> This occurs no matter how long I wait before hitting a key. Using 'su'
>> without the preceding 'sudo' will let me into a normal root shell
>> without the problem occurring. The problem also occurs only in Konsole,
>> not at a tty. I should mention, based on this, that I'm running KDE4.
>> How might I go about fixing this?
> Dumb question, why are you exec'ing /sudo su/? Why not just /su/ or /su
> -/ or /sudo/ ?
>
I figured out how to execute 'sudo su' without a password before I
figured out how to do the same with 'su'. I use sudo on a regular basis
(e.g. sudo emerge -avu world) without trouble, including after this
problem started, and su works too, it just adds the hassle of typing a
root password.
I know, I know, my laziness is winning out over proper security, shame
on me.
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Root shell terminates after first keystroke
2008-03-22 3:15 [gentoo-user] Root shell terminates after first keystroke Tim
@ 2008-03-22 4:29 ` Eric Martin
2008-03-22 3:36 ` Tim
0 siblings, 1 reply; 3+ messages in thread
From: Eric Martin @ 2008-03-22 4:29 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim wrote:
> Tonight, for no apparent reason, a problem has started cropping up when
> I 'sudo su'. The root shell will start up fine, but after the first time
> I hit a key, the shell terminates - apparently normally. A sample try
> looks like this (I begin to type "emerge", with little success):
>
> tim@wozniak ~ $ sudo su
> wozniak tim # eexit
> tim@wozniak ~ $
>
> This occurs no matter how long I wait before hitting a key. Using 'su'
> without the preceding 'sudo' will let me into a normal root shell
> without the problem occurring. The problem also occurs only in Konsole,
> not at a tty. I should mention, based on this, that I'm running KDE4.
> How might I go about fixing this?
Dumb question, why are you exec'ing /sudo su/? Why not just /su/ or /su
- -/ or /sudo/ ?
- --
~eric
PGP: D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH5IspaiVxdKlBO58RAgauAJ9DzETIQaEU96MScKipdcylhwXdxQCfTzqI
78dioXd2b/IKyswemBhQlT8=
=BC8T
-----END PGP SIGNATURE-----
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-22 4:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-22 3:15 [gentoo-user] Root shell terminates after first keystroke Tim
2008-03-22 4:29 ` Eric Martin
2008-03-22 3:36 ` Tim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox