GNU bug report logs -
#5300
su command does not elevate user privilege to root when run inside term/ansi-term mode
Previous Next
Reported by: Praveen A <pravi.a <at> gmail.com>
Date: Sun, 3 Jan 2010 19:25:02 UTC
Severity: normal
Merged with 6302
Found in version 24.0.50
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5300 in the body.
You can then email your comments to 5300 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5300
; Package
emacs
.
(Sun, 03 Jan 2010 19:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Praveen A <pravi.a <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 03 Jan 2010 19:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
su command does not a make a normal user root when run inside term
mode. A full terminal emulator is expected to work with su.
Thanks
Praveen
--
പ്രവീണ് അരിമ്പ്രത്തൊടിയില്
<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
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5300
; Package
emacs
.
(Mon, 04 Jan 2010 14:24:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 5300 <at> debbugs.gnu.org (full text, mbox):
I would like to be able to use emacs term mode for all things that I
now use gnome-terminal, with addition of complex rendering support in
emacs.
--
പ്രവീണ് അരിമ്പ്രത്തൊടിയില്
<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
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5300
; Package
emacs
.
(Thu, 07 Jan 2010 21:31:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 5300 <at> debbugs.gnu.org (full text, mbox):
Praveen A wrote:
> su command does not a make a normal user root when run inside term
> mode.
So what does happen then?
emacs -Q -f term
bash RET
bash> su
password RET
works fine for me. So does ssh.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5300
; Package
emacs
.
(Mon, 11 Jan 2010 15:53:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 5300 <at> debbugs.gnu.org (full text, mbox):
2010/1/8 Glenn Morris <rgm <at> 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 <at> savannah:~$ ssh localhost
pravi <at> 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 <at> 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
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5300
; Package
emacs
.
(Thu, 14 Jan 2010 03:13:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 5300 <at> debbugs.gnu.org (full text, mbox):
Praveen A wrote:
> pravi <at> savannah:~$ ssh localhost
> pravi <at> 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.
So, it seems to work fine, but when the shell finishes initializing it
logs out? Is there anything odd going on in your shell configuration
files (bashrc, profile, etc?)
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5300
; Package
emacs
.
(Thu, 14 Jan 2010 08:58:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 5300 <at> debbugs.gnu.org (full text, mbox):
2010/1/14 Glenn Morris <rgm <at> gnu.org>:
> So, it seems to work fine, but when the shell finishes initializing it
> logs out? Is there anything odd going on in your shell configuration
> files (bashrc, profile, etc?)
>
All the configurations are default ones. Moreover both su and ssh are
working with gnome-terminal. I tried these commands in trunk compiled
emacs and packaged emacs both on fedora 12 and debian squeeze/testing,
it is failing every where.
I will try if the same problem is there on my colleagues' systems tomorrow.
--
പ്രവീണ് അരിമ്പ്രത്തൊടിയില്
<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
Merged 5300 6302.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 03 Jun 2010 22:47:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5300
; Package
emacs
.
(Sun, 18 Sep 2011 10:36:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 5300 <at> debbugs.gnu.org (full text, mbox):
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:
> Alias is disabled and i start with a new M-x term:
>
>> thierry <at> tux ~ $ LC_ALL=C su -l
> Fail.
I'm unable to reproduce this in the current bzr Emacs. Do you still see
this problem?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5300
; Package
emacs
.
(Sun, 18 Sep 2011 17:59:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 5300 <at> debbugs.gnu.org (full text, mbox):
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
> Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:
>
>> Alias is disabled and i start with a new M-x term:
>>
>>> thierry <at> tux ~ $ LC_ALL=C su -l
>> Fail.
>
> I'm unable to reproduce this in the current bzr Emacs. Do you still see
> this problem?
IIRC this have been fixed long time ago now, even in emacs-23 branch.
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
bug closed, send any further explanations to
6302 <at> debbugs.gnu.org and Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 18 Sep 2011 18:43:14 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 17 Oct 2011 11:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.