A simple and ugly script to help automate some of the deployment for Duo with Linux servers. This is written specifally for and tested only on CentOS 7.x minimal servers.
Prerequisites:
- The UNIX application should already be configured in the Duo portal.
- The server will need internet access (repo updates, API access to Duo, etc)
- git will need to be installed first
sudo yum install git
Note: I have only tested with local auth.
- Clone the repo
git clone https://github.com/tylerx626/duo-centos
- Make the .sh executable
chmod +x duo-centos/duo_setup.sh
- Run the script
duo-centos/./duo_setup.sh
- Enter Duo config info when prompted
- Fix all the errors and run it again
- Repeat until it works ;-P
Future updates wish-list:
- Error-checking
- SSH key-based auth