where is the environment variable file?
In Microsoft Windows, each environment variable's default value is stored in the Windows registry or set in the AUTOEXEC.BAT file. On Unix, a setuid program is given an environment chosen by its caller, but it runs with different authority from its caller.