Skip to content

Instantly share code, notes, and snippets.

View codybaxter's full-sized avatar

Cody Baxter codybaxter

View GitHub Profile
@benjamin-hering
benjamin-hering / duo-mfa-setup.sh
Last active October 27, 2023 16:28
Installs and configures pam duo for a Raspberry PI. You still need to add your api keys to /etc/duo/pam_duo.conf
#!/bin/bash
#
#
# Author: Benjamin Hering - bhering@lendingclub.com
#
#
# Sets up the Duo PAM module for SSH Jumphosts and the like
# See https://duo.com/docs/duounix for more info on the Duo setup
#
# Root check