Re: system-wide configuration for user accounts

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

 



Robert P. J. Day wrote:

these days, we have the /etc/profile.d/*sh directory
structure. ... when i added sun's j2sdk package,
i manually added a "java.sh" file to that directory which
extended the search PATH.

is this considered acceptable behavior? to just manually
toss extra files in there? it certainly is a cleaner and
more modular approach than constantly hacking /etc/profile.


The only problem is you've left yourself open to a name collision. I would grow the name to include something unique, and call your "java.sh" file "<your_domain_name>.java.sh". That way you'll never suffer a name collision.

Alan
--
Alan Peery
peery@io.com



--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux