Gentoo Archives: gentoo-user

From: Eric Martin <freak4uxxx@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Root shell terminates after first keystroke
Date: Sat, 22 Mar 2008 04:29:31
Message-Id: 47E48B29.3030808@gmail.com
In Reply to: [gentoo-user] Root shell terminates after first keystroke by Tim
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Tim wrote:
5 > Tonight, for no apparent reason, a problem has started cropping up when
6 > I 'sudo su'. The root shell will start up fine, but after the first time
7 > I hit a key, the shell terminates - apparently normally. A sample try
8 > looks like this (I begin to type "emerge", with little success):
9 >
10 > tim@wozniak ~ $ sudo su
11 > wozniak tim # eexit
12 > tim@wozniak ~ $
13 >
14 > This occurs no matter how long I wait before hitting a key. Using 'su'
15 > without the preceding 'sudo' will let me into a normal root shell
16 > without the problem occurring. The problem also occurs only in Konsole,
17 > not at a tty. I should mention, based on this, that I'm running KDE4.
18 > How might I go about fixing this?
19 Dumb question, why are you exec'ing /sudo su/? Why not just /su/ or /su
20 - -/ or /sudo/ ?
21
22 - --
23 ~eric
24 PGP: D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F
25 -----BEGIN PGP SIGNATURE-----
26 Version: GnuPG v2.0.7 (GNU/Linux)
27 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
28
29 iD8DBQFH5IspaiVxdKlBO58RAgauAJ9DzETIQaEU96MScKipdcylhwXdxQCfTzqI
30 78dioXd2b/IKyswemBhQlT8=
31 =BC8T
32 -----END PGP SIGNATURE-----
33 --
34 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Root shell terminates after first keystroke Tim <root@×××××××××××××××.com>