Re: Unable to set LC_COLLATE system-wide

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

 



> > On Tue, 2008-06-03 at 13:41 +0100, John Horne wrote:
> > > I have noticed that despite setting both LC_COLLATE and LANG in
> > > the /etc/sysconfig/i18n file, it seems that the LC_COLLATE does
not
> > > get set for normal users, but does get set for root.
> > 
> > Did you reboot?
> > 
> Yup.

OK, just checking.

The action appears to be in the file /etc/profile.d/lang.sh, where there
is a check for $HOME/.i18n. If this exists it's sourced, except that
$LANG is preserved. Then there's a bunch of other special cases which
you would need to pore over. Of course if the user doesn't have a
$HOME/.i18n file it just sets some standard defaults.

I don't know if any of this explains what you're seeing.

poc

Not sure if this will fill your needs, but you will have no further probs... Place the assignments in the /etc/profile. Of course, they are then set into the environment on a per login basis. If you have *csh users, also place the assignments in the /etc/csh.login. 
--
Nix
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux