Timeline for Setting environment variables for system users
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 18, 2013 at 23:47 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 | /bin/sh is not bash on Ubuntu, so use syntax that works in dash |
| Jul 18, 2013 at 23:46 | comment | added | Gilles 'SO- stop being evil' | @tripleee if [ $UID -eq 666 ]; then . /etc/somedaemon/env.sh; fi | |
| Jul 18, 2013 at 16:16 | comment | added | tripleee | How are you going to prevent other users from seeing this information? The scripts in profile.d need to be world readable. | |
| Jul 18, 2013 at 15:52 | comment | added | Joseph R. | Interesting choice of UID. I'm guessing this is the standard demon user :D | |
| Jul 18, 2013 at 15:52 | comment | added | Cromulent | Excellent. Thanks, didn't know you could do this. As per your comment above though I am using Nginx as my HTTP server. | |
| Jul 18, 2013 at 15:51 | vote | accept | Cromulent | ||
| Jul 18, 2013 at 14:53 | history | answered | goldilocks | CC BY-SA 3.0 |