// the take
Duo Unix is Duo Security's official PAM module and standalone CLI for adding their two-factor auth to Unix login paths like SSH and sudo. It's for sysadmins who already use Duo's cloud service and need second-factor auth bolted onto system login rather than a web app.
PAM integration means it works with any PAM-aware service (sshd, sudo, login) without patching those programs. The test suite is unusually thorough for a C auth module: blackbox tests against a mock Duo server, Unity unit tests, a FIPS test harness, and an OpenSSL 3 compatibility scanner. It defers TLS entirely to the system OpenSSL library, so TLS 1.2/1.3 support just tracks whatever OpenSSL version is installed instead of a bundled, possibly stale, crypto stack. CI runs on both GitHub Actions and GitLab CI, and the push history is current.
It's a hard dependency on Duo's cloud API for every login attempt — if that service is unreachable, you're relying on correct failmode configuration to avoid either locking everyone out or silently disabling 2FA. The README itself says this git branch is for development, not production, and tells you to use Duo's separate stable tarballs or packages instead — so what you clone here isn't what you're meant to deploy. It's a C project with an autoconf/libtool build chain and PAM headers as prerequisites, and misconfiguration has real consequences: the README warns outright that getting it wrong can lock you out of the box, which is why they recommend testing in a VM first. At 363 stars, it has relatively few eyes on a codebase that sits directly in the authentication path.
We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →