[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Profile for user and root ( locales )



Douglas A. Tutty  wrote / napísal(a):
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.



Hi i copied .bash_profile and .bashrc to my root account to get it to be the same now its working fine i can nicely write special characters in console but the MC still look wird so i copied the MC config from user to root but result is the same :(

Thanks and regards
Vlad



Reply to: