Re: [Partially solved] Re: Locale errors
On Sun, Apr 12, 2009 at 20:24:27 -0700, Kelly Clowers (firstname.lastname@example.org) wrote:
> On Sun, Apr 12, 2009 at 20:14, Celejar <email@example.com> wrote:
> > 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"
Just a thought: you have anything in /etc/environment ?
On one box here I have:
$ cat /etc/environment
(which, as far as it goes, matches the output of the 'locale' command).
I *think* I added that by hand to fix a similar problem to the one being
discussed but cannot remember now.
Bob Cox. Stoke Gifford, near Bristol, UK.
Please reply to the list only. Do NOT send copies directly to me.
Debian on the NSLU2: http://bobcox.com/slug/