From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JcvRE-0002Ar-CQ for garchives@archives.gentoo.org; Sat, 22 Mar 2008 04:34:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D137E062A; Sat, 22 Mar 2008 04:34:34 +0000 (UTC) Received: from dijkstra.pneumaticsystem.com (adsl-99-144-219-15.dsl.emhril.sbcglobal.net [99.144.219.15]) by pigeon.gentoo.org (Postfix) with ESMTP id 87DD7E062A for ; Sat, 22 Mar 2008 04:34:34 +0000 (UTC) Received: from [192.168.1.26] (wozniak.pneumaticsystem.com [192.168.1.26]) by dijkstra.pneumaticsystem.com (Postfix) with ESMTP id C84F4302ECF for ; Fri, 21 Mar 2008 23:34:31 -0500 (CDT) Message-ID: <47E47EB2.3050006@pneumaticsystem.com> Date: Fri, 21 Mar 2008 22:36:18 -0500 From: Tim User-Agent: Thunderbird 2.0.0.6 (X11/20070810) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Root shell terminates after first keystroke References: <47E479E8.5000007@pneumaticsystem.com> <47E48B29.3030808@gmail.com> In-Reply-To: <47E48B29.3030808@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: bdbfb8a1-3b3f-40dc-895a-b59ae0c9b010 X-Archives-Hash: f752c06354fd680ef224f4eaddf1a0f0 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