google-authenticator-libpam

Install command:
brew install google-authenticator-libpam

PAM module for two-factor authentication

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

License: Apache-2.0

Formula JSON API: /api/formula/google-authenticator-libpam.json

Bottle JSON API: /api/bottle/google-authenticator-libpam.json

Formula code: google-authenticator-libpam.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
catalina
mojave
high sierra
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 1.09

Depends on:

qrencode 4.1.1 QR Code generation

Depends on when building from source:

autoconf 2.71 Automatic configure script builder
automake 1.16.5 Tool for generating GNU Standards-compliant Makefiles
libtool 2.4.6 Generic library support script
Add 2-factor authentication for ssh:
    echo "auth required $(brew --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 $(brew --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)

Analytics (macOS):

Installs (30 days)
google-authenticator-libpam 39
Installs on Request (30 days)
google-authenticator-libpam 39
Build Errors (30 days)
google-authenticator-libpam 0
Installs (90 days)
google-authenticator-libpam 165
Installs on Request (90 days)
google-authenticator-libpam 165
Installs (365 days)
google-authenticator-libpam 750
Installs on Request (365 days)
google-authenticator-libpam 750

Analytics (Linux):

Installs (30 days)
google-authenticator-libpam 0
Installs on Request (30 days)
google-authenticator-libpam 0
Build Errors (30 days)
google-authenticator-libpam 0
Installs (90 days)
google-authenticator-libpam 0
Installs on Request (90 days)
google-authenticator-libpam 0
Installs (365 days)
google-authenticator-libpam 11
Installs on Request (365 days)
google-authenticator-libpam 11
Fork me on GitHub