~/.bash_profile is executed after /etc/profile and /etc/bash.bashrc,
so if the user overrides PS1, it will erase any changes you've made.

Otherwise, /etc/profile should be loaded for every *login* shell,
which means terminal emulators will not always load the profile at
launch (it may be read once at login to the GUI, and all instances of
terminal emulators are subshells of this login).

On 5/13/09, Roy M <[email protected]> wrote:
>
>  Hello,
>
>  Currently I specify and export PS1 in ~/.bash_profile
>
>  e.g.
>
>  PS1="....
>
>
>  However, if I want all user in the system to have the same settings, I
>  tried both
>
>  /etc/profile
>  /etc/bash.bashrc
>
>  but seems no effect.
>
>  Any advice?
>
>  Thanks.
>
>  >
>


-- 

           Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to