To run Vagrant for testing, run these commands from the test directory:
brew install vagrantvagrant plugin install vagrant_utmvagrant upvagrant sshsudo apt-get updatesudo apt-get install gcc make libcurl4-openssl-dev libjson-c-dev libpam0g-dev
Enjoy!
Once you have Vagrant running, you can run make all from the fusionauth-pam-linux directory. After the compiler finishes, you can run sudo make install to install the PAM module. And finally, you can run sudo make uninstall to uninstall the PAM module.