How-To: Setting up the environment variables for the ...

•When environment variables are used by privileged Set-UID programs, they must be sanitized properly. •Developers may choose to use a secure version of getenv(), such as secure_getenv(). •getenv() works by searching the environment variable list and returning a pointer to the string found, when used to retrieve a environment variable. ................
................