0

I want to set an environmental variable that all users will have, where do I do this?

This is for users who login and also for certain processes that run under an account.

Blankman
  • 8,275

1 Answers1

1

You can set it in /etc/bash.bashrc

It will be available for all the users in the machine.

s.m
  • 2,229
  • so it will require a reboot then right for processes that run under accounts? – Blankman Jun 05 '13 at 02:39
  • you dont have to reboot after setting it just run this command "source /etc/bash.bashrc" and your environment variable will be available for use – s.m Jun 05 '13 at 02:45