How to set global PATH on OS X Server 10.6.6?
Posted
by
Adam Lindberg
on Server Fault
See other posts from Server Fault
or by Adam Lindberg
Published on 2011-02-08T14:29:23Z
Indexed on
2011/02/08
15:27 UTC
Read the original article
Hit count: 271
I'm running Tomcat on OS X Server 10.6.6 under the normal Web component that comes with the OS. This has worked fine so far, but I need to add some entries to the $PATH
environment variable for programs that I want access to from the web server (more specifically, I'm running Hudson under Tomcat which needs access to build tools that I have installed).
Tomcat and the Web component seems to run under the user _appserver which has a different $PATH
than the administrator account.
What's the proper way to add a global entry to the $PATH
in OS X Server for the Web component? Preferable it should be done only once so that both the _appserver and Administrator user can access the same $PATH
.
© Server Fault or respective owner