Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

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.

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.