Re: Profile for user and root ( locales )
On Mon, Aug 27, 2007 at 03:35:33PM +0200, Vladimir Strycek wrote:
>
> any idea where alse is setting for each user in bash ? i have small
> problem that when i log in to my debian box as user everything works
> great especialy the special character of Slovak language also MC looks
> fine etc... but when i su to root the special characters do not work
> anymore... when i turn on MC its has some wird characters insted of
> lines on borders etc... i look in /etc/profile but nothing there to
> explain it also in .bashrc and .bash_profile to find out why in user it
> works fine and at root it doesnt diplay correctly.
>
> Any idea where else could be som config file which determine what
> localles are used for user ?
As the working user and as root run env and compare so you know exactly
what differences you're looking for.
Then check both the user's and root's .bash*, but also check the
/etc/bash.bashrc and /etc/provfile in case there's any logic in those
that looks at the user (as it does to set the prompt). The system's
default locale is set under /etc/default.
Doug.
Reply to: