put it in /etc/profile or /etc/bash_profile or in /etc/skel/.bash_profile
bug
On Sun, 21 Nov 1999, John LeMay wrote:
> I'm actually not a newbie, and this is embarrasing to ask, but here
> goes. I added the following to /etc/rc.d/rc.local:
>
> PILOTRATE=115200
> export PILOTRATE
>
> However env does not show this var as being set after I login. Why???
> Shouldn't this var now be set for every user unless it is overwritten by
> something like the user's .bash_profile?
>
> Thanks!
>
> --
> John J. LeMay Jr.
> NJMC, LLC.
> http://www.njmc.com
>