Duo 2fa

less than 1 minute read

Setting up two factor authentication on Linux using Duo

yum install openssl-devel
wget https://dl.duosecurity.com/duo_unix-latest.tar.gz
tar zxf duo_unix-latest.tar.gz
cd duo_unix-1.11.2
./configure --with-pam --prefix=/usr && make && sudo make install
[duo]
; Duo integration key
ikey = INTEGRATION_KEY
; Duo secret key
skey = SECRET_KEY
; Duo API hostname
host = API_HOSTNAME

References & Further Reading https://duo.com/docs/duounix

Updated: