Hands-on task
Shop mode in the environment
The shop's scripts decide whether this is the production or the test server by the environment variable SHOP_MODE. Make sure that every login session of any user has the variable SHOP_MODE=live, and in the environment specifically (programs you start must see it). Set it up system-wide, not by editing everyone's .bashrc.
- environment variables
- export
- /etc/profile.d
- login session
- printenv