Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

/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.

share|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

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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