qhen has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Monks,
I guess this is more of a CentOS/distribution question, but here goes anyway:
I'd like to set PERL5LIB universally for all users (including root) on CentOS. I've tried the following in /etc/profile.d/abc.sh
export PERL5LIB="/abc"
But it's not being used at all/by any scripts. I've even tried using /etc/profile.d/perl.sh without success.
I'd appreciate any pointers
ThanksRESOLVED: /etc/profile.d/* scripts are only run when a user LOGS IN, not merely opening terminals when already logged in.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PERL5LIB on CentOS
by Corion (Patriarch) on Jun 27, 2014 at 12:54 UTC | |
by qhen (Acolyte) on Jun 27, 2014 at 13:02 UTC | |
by hippo (Archbishop) on Jun 27, 2014 at 13:17 UTC | |
by qhen (Acolyte) on Jun 27, 2014 at 13:27 UTC | |
by Corion (Patriarch) on Jun 27, 2014 at 14:20 UTC | |
|
Re: PERL5LIB on CentOS
by 1s44c (Scribe) on Jun 28, 2014 at 17:11 UTC |