From: Tim <root@pneumaticsystem.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Root shell terminates after first keystroke
Date: Fri, 21 Mar 2008 22:36:18 -0500 [thread overview]
Message-ID: <47E47EB2.3050006@pneumaticsystem.com> (raw)
In-Reply-To: <47E48B29.3030808@gmail.com>
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
prev parent reply other threads:[~2008-03-22 4:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=47E47EB2.3050006@pneumaticsystem.com \
--to=root@pneumaticsystem.com \
--cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox