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 |> |> LANG="en_US.ISO8859-1" |> |> |> 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, and |> 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" that |> the entire server is to use the locale setting LANG="en_US.ISO8859-1" ? |> |> I need a clue... |> |> |> thanks. |> |> |24.3.3.1.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 instead |of adding specific shell assignments to each shell's startup file. User |Level Setup can be performed by each user while Administrator Level |Setup requires superuser privileges." | |Source: |http://www.freebsd.org/doc/en/books/handbook/using-localization.html#lo gin-class |-- =============
Thank-you! That does what I need. I added the lang keyword to the default and root sections of /etc/login.conf, then ran cap_mkdb /etc/login.conf as mentioned in the handbook. Thanks again for the assist. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"