Whats the easiest way to change the PATH variable serverwide?

AbeFroman

BANNED
Feb 16, 2002
654
1
318
Whats the easiest way to change the PATH variable serverwide? I know I can do it in my .profile, but thats only for a single user.

[email protected] [~]# echo $PATH
/usr/local/jdk/bin:/usr/local/jdk/bin:/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin

It starts with /usr/local/jdk/bin 3 times, I'm sure cpanel put it there, I installed TomCat from WHM on that server.
 

AbeFroman

BANNED
Feb 16, 2002
654
1
318
Chirpy!! Chirpy!! Chirpy!! Chirpy!! Chirpy!!