# 安装 google-authenticator-libpam

查看 google-authenticator-libpam 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:google-authenticator-libpam
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install google-authenticator-libpam
```

  证据: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install google-authenticator-libpam
```

  证据: openSUSE Tumbleweed package metadata: google-authenticator-libpam from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

- apk (92%):

```sh
sudo apk add google-authenticator
```

  证据: Alpine Linux edge package indexes: google-authenticator from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install google-authenticator
```

  证据: Fedora Rawhide package metadata: google-authenticator from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#google-authenticator
```

  证据: nixpkgs package indexes: pkgs/by-name/go/google-authenticator/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:google-authenticator-libpam
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/google-authenticator-libpam>
- **版本:** 1.11
- **来源摘要:** PAM module for two-factor authentication
- **主页:** <https://github.com/google/google-authenticator-libpam>
- **仓库:** <https://github.com/google/google-authenticator-libpam>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/google/google-authenticator-libpam/archive/refs/tags/1.11.tar.gz>
- **更新:** 2025-09-12T13:45:01Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 可执行文件

- google-authenticator (cli)
- google-authenticator (别名)

## 依赖

- qrencode

## 构建依赖

- autoconf
- automake
- libtool

## 安装行为

- post-install 钩子: 未定义
- Caveats: Add 2-factor authentication for ssh: echo "auth required $HOMEBREW_PREFIX/opt/google-authenticator-libpam/lib/security/pam_google_authenticator.so" \ \| sudo tee -a /etc/pam.d/sshd Add 2-factor authentication for ssh allowing users to log in without OTP: echo "auth required $HOMEBREW_PREFIX/opt/google-authenticator-libpam/lib/security/pam_google_authenticator.so" \ "nullok" \| sudo tee -a /etc/pam.d/sshd (Or just manually edit /etc/pam.d/sshd)
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 1.11
- 管理器更新时间: 2025-09-12
- 本地数据: ok
- 上游仓库: https://github.com/google/google-authenticator-libpam
- 检测到的最新版本: 1.11 (current)
- notice: The package-manager record has not changed recently.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** green / low
- narrow executable package without higher-risk signals

## 相关链接

- [qrencode](https://www.automicvault.com/pkg/brew/qrencode/) - Runtime dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
