macOS
brew install duo_unixlocal Homebrew formula metadata
brew
Two-factor authentication for SSH. Version 2.2.3 via Homebrew; verified 2026-06-22.
install
brew install duo_unixlocal Homebrew formula metadata
sudo apk add duo_unixAlpine Linux edge package indexes · duo_unix · source: dl-cdn.alpinelinux.org
sudo apt install libduo-devDebian stable package indexes · libduo-dev · source: deb.debian.org
sudo dnf install duo_unixFedora Rawhide package metadata · duo_unix · source: dl.fedoraproject.org
nix profile install nixpkgs#duo-unixnixpkgs package indexes · pkgs/by-name/du/duo-unix/package.nix · source: api.github.com
overview
Two-factor authentication for SSH
history
Duo Unix is Duo Security's Unix integration for adding Duo two-factor authentication to SSH, sudo, and other PAM-protected services. It packages two important surfaces: the `pam_duo` PAM module and the `login_duo` standalone login wrapper.
The public Duo Unix repository was created in 2011 and is maintained by Duo Security. The README describes it as Duo two-factor authentication for Unix systems, with the repository intended for development or cutting-edge versions while stable release tarballs and packages are recommended for production deployments.
The project is written mainly in C and uses traditional Unix build machinery: bootstrap, configure, make, and make install. Its docs and README center on the practical security integration points: PAM, login wrappers, OpenSSL-backed TLS, and config files containing Duo integration keys and API host information.
Duo Unix adoption follows Duo's enterprise MFA adoption path: administrators add a Duo Unix integration in the Duo Admin Panel, deploy packages or stable tarballs, configure SSH or sudo, and place integration credentials in `/etc/duo` or `/etc/security` config files.
Package metadata shows distribution through Homebrew, Alpine, Debian/Ubuntu development packages, Fedora, and Nix. That breadth matters because PAM integrations are usually installed by OS package managers on servers rather than vendored into applications.
Typical usage is to install Duo Unix with PAM support, create a Unix integration in the Duo Admin Panel, put the integration key, secret key, and API hostname into `pam_duo.conf` or `login_duo.conf`, and then wire `pam_duo` into the PAM stack for SSH or sudo.
`login_duo` can also protect command execution without PAM. The README shows a test invocation that runs a command only after successful Duo authentication.
Duo Unix is package-nerd significant because it lives at a high-risk boundary: a small C package, config files with secrets, PAM modules, and remote MFA API calls can affect whether administrators can log into their own machines.
Its packaging history illustrates why security integrations stay conservative: upstream points production users at stable tarballs/packages, while the GitHub repo remains the development surface. For package managers, correct file placement and clear upgrade behavior matter as much as the executable.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/duo/pam_duo.conf/etc/security/pam_duo.conf/etc/duo/login_duo.conf/etc/security/login_duo.confCredential-bearing paths to review before unattended agent runs.
/etc/duo/pam_duo.conf/etc/security/pam_duo.conf/etc/duo/login_duo.conf/etc/security/login_duo.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
duo_unix_support.sh | cli | global executable | |
login_duo | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/duosecurity/duo_unix
install metadata
| Package key | brew:duo_unix |
|---|---|
| Version | 2.2.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/duo_unix |
| Homepage | https://www.duosecurity.com/docs/duounix |
| Repository | https://github.com/duosecurity/duo_unix |
| Upstream docs | https://duo.com/docs/duounix |
| License | GPL-2.0-or-later |
| Source archive | https://github.com/duosecurity/duo_unix/archive/refs/tags/duo_unix-2.2.3.tar.gz |
| Last updated | 2026-06-22T14:03:12-07:00 |
| Pulse | updated |
| Dependencies | openssl@3 |
| Build dependencies | autoconf, automake, libtool |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | duo_unix |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libduo-dev 1.11.3-1.2+b1
Duo Security development libraries and header files
https://github.com/duosecurity/duo_unix
sudo apt install libduo-devlibduo3t64 1.11.3-1.2+b1
Duo Security library
https://github.com/duosecurity/duo_unix
sudo apt install libduo3t64libpam-duo 1.11.3-1.2+b1
PAM module for Duo Security two-factor authentication
https://github.com/duosecurity/duo_unix
sudo apt install libpam-duologin-duo 1.11.3-1.2+b1
login wrapper for Duo Security two-factor authentication
https://github.com/duosecurity/duo_unix
sudo apt install login-duoduo-unix
nix profile install nixpkgs#duo-unixlibduo-dev 1.11.3-1.1build2
Duo Security development libraries and header files
https://github.com/duosecurity/duo_unix
sudo apt install libduo-devlibduo3t64 1.11.3-1.1build2
Duo Security library
https://github.com/duosecurity/duo_unix
sudo apt install libduo3t64libpam-duo 1.11.3-1.1build2
PAM module for Duo Security two-factor authentication
https://github.com/duosecurity/duo_unix
sudo apt install libpam-duologin-duo 1.11.3-1.1build2
login wrapper for Duo Security two-factor authentication
https://github.com/duosecurity/duo_unix
sudo apt install login-duoduo_unix 1.12.1-r2
Duo two-factor authentication for Unix systems with Pluggable Authentication Modules (PAM)
sudo apk add duo_unixduo_unix-dev 1.12.1-r2
Duo two-factor authentication for Unix systems with Pluggable Authentication Modules (PAM) (development files)
sudo apk add duo_unix-devduo_unix-doc 1.12.1-r2
Duo two-factor authentication for Unix systems with Pluggable Authentication Modules (PAM) (documentation)
sudo apk add duo_unix-docduo_unix 2.2.3-1.fc44
Duo two-factor authentication for UNIX systems
sudo dnf install duo_unixduo_unix-devel 2.2.3-1.fc44
Development files and documentation for duo_unix
sudo dnf install duo_unix-develduo_unix-doc 2.2.3-1.fc44
Documentation and license files for duo_unix
sudo dnf install duo_unix-docduo_unix-selinux 2.2.3-1.fc44
SELinux rules for duo_unix
sudo dnf install duo_unix-selinuxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.