google-authenticator-libpam
« Back to VersTracker
Description:
PAM module for two-factor authentication
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: security pam 2fa totp authentication
Install: brew install google-authenticator-libpam
About:
This PAM module provides two-factor authentication using time-based one-time passwords (TOTP), compatible with authenticator apps like Google Authenticator. It integrates with standard Unix authentication systems to add a second verification layer beyond passwords. The tool enhances server security by requiring a time-sensitive code generated on a user's device.
Key Features:
  • Generates time-based (TOTP) and HMAC-based (HOTP) one-time passwords
  • Compatible with standard authenticator mobile applications
  • Configurable token length, time step, and window of acceptance
  • Supports enforcing two-factor authentication for SSH and console logins
Use Cases:
  • Securing SSH server access with two-factor authentication
  • Protecting console/root logins on Linux systems
  • Adding a second factor to VPN authentication (e.g., OpenVPN)
Alternatives:
  • google-authenticator – The standalone client tool, often used alongside this PAM module for initial key generation.
  • yubico-pam – A PAM module for YubiKey hardware tokens instead of software-based TOTP apps.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 1:45pm 0 VERSION_BUMP d4d0a6d0