Is there any way for me to set an env variable without editing files to be in memory and effect other shells as well, which will take effect on any new user who connects that machine and will take effect only after next reboot of the Linux machine?
I'm trying to remember something in my linux which will be effective (from a script) only for the time the machine is up (I don't want a file for that reason) so from my shell I want to set some flag which will be valid for any user connecting like:
however I want it to be effective for any new shell opened on that Linux. and I want that next time someone reboots that machine that variable disappears...
Any (simple) for me to achieve that? (without using files...)