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.
|
Yes, you'd want to use /etc/profile for system-wide settings.
|
All times are GMT -5. The time now is 03:07 PM. |