Subject: bug#5300: su command does not elevate user privilege to root when run inside term/ansi-term mode

From: Glenn Morris <[email-masked]>
Date: Wed, 13 Jan 2010 22:12:22 -0500

Praveen A wrote:

> 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.

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?)