Automic VaultAutomic Vault

brew

google-authenticator-libpam mit Homebrew, zypper, apk, dnf, Nix, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für google-authenticator-libpam in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install google-authenticator-libpam

local Homebrew formula metadata

Linux

openSUSE zypperverifiziert · 92%
sudo zypper install google-authenticator-libpam

openSUSE Tumbleweed package metadata · google-authenticator-libpam · Quelle: download.opensuse.org

Alpine Linux apkverifiziert · 92%
sudo apk add google-authenticator

Alpine Linux edge package indexes · google-authenticator · Quelle: dl-cdn.alpinelinux.org

Fedora dnfverifiziert · 92%
sudo dnf install google-authenticator

Fedora Rawhide package metadata · google-authenticator · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#google-authenticator

nixpkgs package indexes · pkgs/by-name/go/google-authenticator/package.nix · Quelle: api.github.com

Debian aptverifiziert · 92%
sudo apt install libpam-google-authenticator

Debian stable package indexes · libpam-google-authenticator · Quelle: deb.debian.org

Überblick

Paketzusammenfassung

PAM module for two-factor authentication

Befehle und Aliase

  • google-authenticator

Verlauf

Projektgeschichte und Nutzung

google-authenticator-libpam is Google's PAM module and setup utility for adding HOTP or TOTP second-factor authentication to Unix login flows such as SSH and OpenVPN. Its package significance is unusually high for a small C/PAM project because it bridges standard one-time-password algorithms, the Google Authenticator app ecosystem, and distribution-level authentication stacks.

Projektgeschichte

The project implements a PAM module named pam_google_authenticator and a google-authenticator setup binary. The README describes it as an example PAM module for two-factor authentication to servers via SSH, OpenVPN, and similar services, and explicitly scopes it away from logging into Google or other TOTP/HOTP services.

The implementation is grounded in the HOTP and TOTP standards. RFC 4226 defined HMAC-based one-time passwords in 2005, and RFC 6238 extended HOTP with a time-based moving factor in 2011. The project's README cites both standards as the algorithms behind its one-time codes.

The GitHub repository was created in November 2016 under Google's organization, and Git tags show 1.03 through 1.11 release labels. The man page documents the PAM module interface, default secret-file behavior, security notes, and deployment options.

Adoptionsgeschichte

The package is widely packaged under names such as google-authenticator-libpam, google-authenticator, and libpam-google-authenticator. The batch metadata records Homebrew, Alpine, Debian, Fedora, Nix, Ubuntu, and openSUSE-family package names, and Homebrew's formula page documents SSH PAM configuration snippets.

Its adoption comes from fitting an existing Unix security boundary: administrators can add an auth required pam_google_authenticator.so line to PAM configuration and let users enroll per-account secrets, rather than deploying a separate authentication server.

Because PAM is distribution- and service-sensitive, the project also exposes rollout controls such as nullok for users without a secret file, secret= for nonstandard secret locations, user= for alternate file access, owner and permission checks, time-skew handling, HOTP counter behavior, and combined password-code prompting.

Wie es verwendet wird

A user typically runs google-authenticator to create ~/.google_authenticator. The setup can display a QR code when libqrencode is available, or provide a URL or alphanumeric secret that can be entered into an authenticator app.

An administrator enables the PAM module in a service configuration, commonly with an auth line for pam_google_authenticator.so. The module then prompts for a one-time code in addition to the normal password, using either time-based TOTP or counter-based HOTP depending on user setup and options.

The man page emphasizes that the secret file is per account, defaults to .google_authenticator in the user's home directory, and must satisfy ownership and permission checks unless explicitly relaxed.

Warum Paket-Nerds sich dafür interessieren

For package nerds, google-authenticator-libpam is a classic example of a small library package with outsized operational consequences. Packaging has to put a PAM shared object in the right security module path, install a user enrollment binary, and often provide service-specific post-install guidance.

It is also a good reminder that authentication packages are not just CLIs. Their paths, file permissions, PAM control flags, and distro integration details can determine whether users are protected, locked out, or silently bypassing a second factor.

Zeitleiste

  • 2005: RFC 4226 publishes HOTP.
  • 2011: RFC 6238 publishes TOTP as a time-based extension of HOTP.
  • 2016-11: Google GitHub repository created.
  • 2016-2026: Git tags show 1.03 through 1.11 release labels.
  • 2026: README and man page document PAM setup, ~/.google_authenticator secrets, HOTP/TOTP behavior, and security-sensitive module options.

Related projects

  • Google Authenticator mobile apps generate compatible one-time codes for enrolled secrets.
  • Linux-PAM and service PAM configurations such as sshd and OpenVPN are the integration surfaces for the module.
  • pam_oath, FreeOTP, oathtool, and other OATH-compatible tooling occupy adjacent HOTP/TOTP authentication space.

Quellen

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 8 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 3 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

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.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.google_authenticator

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
google-authenticatorcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version1.11
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Version1.11

https://github.com/google/google-authenticator-libpam

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:google-authenticator-libpam
Version1.11
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/google-authenticator-libpam
Homepagehttps://github.com/google/google-authenticator-libpam
Repositoryhttps://github.com/google/google-authenticator-libpam
Upstream-Dokumentationhttps://github.com/google/google-authenticator-libpam#readme
LizenzApache-2.0
Quellarchivhttps://github.com/google/google-authenticator-libpam/archive/refs/tags/1.11.tar.gz
Abhängigkeitenqrencode
Build-Abhängigkeitenautoconf, automake, libtool
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert
EinschränkungenAdd 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)

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegoogle-authenticator-libpam
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

zypper95%

google-authenticator-libpam 1.10-3.3

Google Authenticator PAM module

https://github.com/google/google-authenticator-libpam

sudo zypper install google-authenticator-libpam
  • License: Apache-2.0
  • Category: Productivity/Security
  • Architecture: x86_64
  • Source Package: google-authenticator-libpam
  • 3 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Google Authenticator Libpam
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: google-authenticator-libpam from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Debian apt92%

libpam-google-authenticator 20191231-2.1

Two-step verification

https://github.com/google/google-authenticator-libpam

sudo apt install libpam-google-authenticator
  • Section: admin
  • Architecture: amd64
  • Source Package: google-authenticator
  • 3 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Google Authenticator
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpam-google-authenticator from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

google-authenticator

nix profile install nixpkgs#google-authenticator
  • installed executable or alias match
  • Abgeglichen nach: Google Authenticator
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/google-authenticator/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

libpam-google-authenticator 20191231-2build1

Two-step verification

https://github.com/google/google-authenticator/

sudo apt install libpam-google-authenticator
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: google-authenticator
  • 3 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Google Authenticator
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpam-google-authenticator from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

google-authenticator 1.11-r0

Google Authenticator PAM module

https://github.com/google/google-authenticator-libpam

sudo apk add google-authenticator
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: google-authenticator
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Google Authenticator
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: google-authenticator from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

google-authenticator-doc 1.11-r0

Google Authenticator PAM module (documentation)

https://github.com/google/google-authenticator-libpam

sudo apk add google-authenticator-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: google-authenticator
  • installed executable or alias match
  • Abgeglichen nach: Google Authenticator
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: google-authenticator-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf92%

google-authenticator 1.11-4.fc44

One-time pass-code support using open standards

https://github.com/google/google-authenticator-libpam/

sudo dnf install google-authenticator
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: google-authenticator
  • 4 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Google Authenticator
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: google-authenticator from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment