Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 2.91 KB

README.md

File metadata and controls

37 lines (29 loc) · 2.91 KB

duounix

This is a fairly uncomplicated role for installing Duo Security's duo_unix on a system, to protect things like SSH or console access. We intentionally don't handle things like PAM configuration in this role, because those will vary widely by use case.

INSTALLATION NOTES

  • When installing from source, you need a compiler toolchain (obviously). On a distro like Ubuntu, one is installed by default, but others like CentOS leave the choice up to you. So do we. When installing from source, make sure you install a compiler first.

Configuration

Bold items are required.

Variable Default Notes
duounix_integration_key None
duounix_secret_key None
duounix_api_hostname None
duounix_install package could be package or source
duounix_conf_dir /etc/duo
duounix_login_config {failmode: secure, pushinfo: yes, autopush: no, prompts: 3} any extra config you want for login_duo
duounix_pam_config {failmode: secure, pushinfo: yes, autopush: no, prompts: 3} any extra config you want for pam_duo

If building from source, the following variables take effect:

Variable Default Notes
duounix_checksum 2eb11dff0a173c62e31... SHA256 hash of the file
duounix_path https://dl.duosecurity.com/
duounix_version 1.9.18
duounix_prefix_dir /usr
duounix_build_pam yes