I have an embedded platform running an Arago linux distribution. Right now the only "user" is
root but there will eventually be others, but I don't know how many or what user IDs they will have.
Every user of this system must have a particular environment variable exported in order for the GUI to work correctly. I found that if I created and then added the export command to
/home/root/.profile it is set correctly for
Where should I place the command such that it is exported for every (current and future) user of the system?
Note: On my system, at start up there were no files present in
/home/root, I added
.bash_profile but that didn't work, then I added
.profile and that did work. I thought I might have a dash shell because of that, but when I check
/bin/sh it points to
bash... so I tagged both.