Setting a locale globally
the.lists at mgm51.com
Sat Jun 15 13:59:59 UTC 2013
On 6/14/2013 at 3:46 PM staticsafe wrote:
|On Fri, Jun 14, 2013 at 12:13:34PM -0400, Mike. wrote:
|> I would like to set the locale of my 9.1 server to
|> globally, i.e., put the locale entry in one file, and then have the
|> locale propagate as I go into other shells and run various scripts.
|> I have spent some quality time with google, and the best I have been
|> about to ascertain is that I need to sprinkle the LANG setting
|> throughout the various ENV variables and .profile, .cshrc, .bashrc,
|> whatever files spread across my directory tree.
|> That really seems counter-intuitive to me.
|> Is it at all possible for me to specify in once place *somewhere"
|> the entire server is to use the locale setting
|> I need a clue...
|18.104.22.168.1. Login Classes Method
|"This method allows environment variables needed for locale name and
|MIME character sets to be assigned once for every possible shell
|of adding specific shell assignments to each shell's startup file.
|Level Setup can be performed by each user while Administrator Level
|Setup requires superuser privileges."
Thank-you! That does what I need.
I added the lang keyword to the default and root sections of
/etc/login.conf, then ran
as mentioned in the handbook.
Thanks again for the assist.
More information about the freebsd-questions