On Ubuntu 10.04 Server, where can I adjust the essential $PATH environment variable value which will all applications and all users see?

link|improve this question

38% accept rate
feedback

2 Answers

/etc/profile is probably the closest you'll come. Some (users|applications) may of course be setting their own PATH, and there's nothing you can do about this.

link|improve this answer
But there are no initial $PATH settings in /etc/profile by default, and neither are in /etc/bash.bashrc. Where are the initial defalut PATHs set? – Ivan Jun 24 '10 at 9:45
/etc/login.defs – Cian Jun 24 '10 at 9:55
feedback

On Ubuntu 10.4...but not the server, I changed /etc/environment

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.