Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I saw a thread here that advised to set the PATH variable via RCEnvironment on macs but on the about of the application it says:

Setting the PATH variable can be hazardous to your applications health. Only change this if you are sure of what you are doing.

In what way can that be hazardous?

Is there another better way to set paths so it can be visible not only from terminal?

share|improve this question

migrated from serverfault.com Oct 4 '12 at 0:00

This question came from our site for system and network administrators.

1 Answer 1

If you edit the PATH so that an app can't load a required proram might make it fail. As an example, removing /usr/bin from the PATH would be a pretty bad idea.

I don't understand what you mean in the second question, but the more unixy way of setting environment variables like PATH is to use either the global /etc/profile or your own ~/.profile to do this.

Anyway, if you don't know what you are doing, don't mess with it.

share|improve this answer
    
well i don't remove it i just want to add some extra like usr/share/groovy/bin so is not about removing is about adding...i don;t know how a variable can be removed via RCEnvironemnt tool.I noticed is possible only to add...and is added to the current PATH variable..that is why i don't understand the mention from their about –  Cris Apr 7 '12 at 9:51
    
Related to the second...there are some GUI apps that it is said that do not have access to the PATH which is set via /etc/profile. this answer serverfault.com/questions/67594/… –  Cris Apr 7 '12 at 9:56

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.