I ran into this too. Same problem -- extra set of quotes in the environment variables after doing "sudo -i" .

I put



LANG=C
LANGUAGE=C
export LANG
export LANGUAGE


at the end of /root/.bashrc and the problem went away. But now that two of us have seen it, I think there's a bug in "sudo -i".

Rick

On Apr 12, 2009, at 11:24 PM, Kelly Clowers wrote:

On Sun, Apr 12, 2009 at 20:14, Celejar <cele...@gmail.com> wrote:

<snip>

So you seem to be correct; for some reason, in the sudo shell, the LC*
variables are getting extra quotes.  Any idea why?  [There's nothing
that looks interesting in root's '.bashrc'; it's basically empty.]

Something to do with the preservation or lack thereof of environmental
variables in sudo? Try putting the env vars in root's .bashrc, maybe?

I don't really know, I use straight "sudo $command" not "sudo -i"


Cheers,
Kelly Clowers


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to