LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Enviroment Variable for all users? (https://www.linuxquestions.org/questions/fedora-35/enviroment-variable-for-all-users-465759/)

thuanpv 07-19-2006 11:08 PM

Enviroment Variable for all users?
 
I have root account. Can i declare enviroment variable for all users? I meet this questions when i install a new package, sometime it requires some enviroment variables. I set these enviroments in my session (with root account) at /root/.bash_profile, after that, this package work ok.But when i log in with another account, these variables aren't not avaible so that this package isn't work properly.

Matir 07-19-2006 11:10 PM

Yes, you'd want to use /etc/profile for system-wide settings.


All times are GMT -5. The time now is 03:07 PM.