unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Praveen A <pravi.a@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 5300@debbugs.gnu.org
Subject: bug#5300: su command does not elevate user privilege to root when run inside term/ansi-term mode
Date: Mon, 11 Jan 2010 21:22:11 +0530	[thread overview]
Message-ID: <3f2beab61001110752j7531ffa3r8380de641d45f999@mail.gmail.com> (raw)
In-Reply-To: <gtwrzty553.fsf@fencepost.gnu.org>

2010/1/8 Glenn Morris <rgm@gnu.org>:
> Praveen A wrote:
>
>> su command does not a make a normal user root when run inside term
>> mode.
>
> So what does happen then?

It just gives you the normal user shell prompt (both for ssh and su)

pravi@savannah:~$ ssh localhost
pravi@localhost's password:
Linux savannah 2.6.30-2-amd64 #1 SMP Fri Sep 25 22:16:56 UTC 2009 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have mail.
Last login: Mon Jan 11 13:46:53 2010 from localhost
Connection to localhost closed.
pravi@savannah:~$

>
> emacs -Q -f term
> bash RET
> bash> su
> password RET
>
> works fine for me. So does ssh.
>

I'm using emacs 23.1+1-5 from debian testing, it is also failing with
a trunk built emacs too.

It just

-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign






  reply	other threads:[~2010-01-11 15:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3f2beab61001031107r794c6321x11410089d0e313af@mail.gmail.com>
2010-01-03 19:24 ` bug#5300: su command does not elevate user privilege to root when run inside term/ansi-term mode Praveen A
2010-01-07 21:30   ` Glenn Morris
2010-01-11 15:52     ` Praveen A [this message]
2010-01-14  3:12       ` Glenn Morris
2010-01-14  8:57         ` Praveen A

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3f2beab61001110752j7531ffa3r8380de641d45f999@mail.gmail.com \
    --to=pravi.a@gmail.com \
    --cc=5300@debbugs.gnu.org \
    --cc=rgm@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).