Configuration of Installation Location

User and Home environment variables

The shell scripts, as well as shared library 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 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

  • HOME

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.