Configuration of Installation Location¶
User and Home environment variables¶
The shell scripts, as well as shared library vmauth.so that is used used by the VMs to grant/deny RDP access, assume that environment variables USER and HOME point to respectively the user under which the scripts run, and the directory that contains the necessary scripts and other files.
Shared library vmauth.so looks for the password file using env vars GRABATSHOME and HOME. It appends the string /vmauth/passwd to the value of the first of these variables that is defined, in this order
If this is not suitable, you have to edit vmauth.c before compiling it.
Internally, the shell scripts use variables GRABATSUSER and GRABATSHOME and set these to USER resp. HOME .
The scripts add $GRABATSHOME/bin to the PATH.