macOS
brew install duo_unixlocal Homebrew formula metadata
安装
brew install duo_unixlocal Homebrew formula metadata
nix profile install nixpkgs#duo-unixnixpkgs package indexes · pkgs/by-name/du/duo-unix/package.nix · 来源: api.github.com
sudo apk add duo_unixAlpine Linux edge package indexes · duo_unix · 来源: dl-cdn.alpinelinux.org
sudo apt install libduo-devDebian stable package indexes · libduo-dev · 来源: deb.debian.org
sudo dnf install duo_unixFedora Rawhide package metadata · duo_unix · 来源: dl.fedoraproject.org
概览
Two-factor authentication for SSH
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
duo_unix_support.sh | cli | 全局可执行文件 | |
login_duo | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/duosecurity/duo_unix
安装元数据
| 软件包键 | brew:duo_unix |
|---|---|
| 版本 | 2.2.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/duo_unix |
| 主页 | https://www.duosecurity.com/docs/duounix |
| 仓库 | https://github.com/duosecurity/duo_unix |
| 上游文档 | https://duo.com/docs/duounix |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/duosecurity/duo_unix/archive/refs/tags/duo_unix-2.2.3.tar.gz |
| 最后更新 | 2026-06-22T14:03:12-07:00 |
| Pulse | updated |
| 依赖 | openssl@3 |
| 构建依赖 | autoconf, automake, libtool |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-selinux来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.