Skip to content Source: homebrew/core GitHub Homebrew
google-authenticator-libpam
Formula Utilities v1.11
PAM module for two-factor authentication
Install 1
App in
Terminal
$
brew install google-authenticator-libpam
Dependencies
Build Dependencies
Installation Notes
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)
Install Statistics 2.7%
Average daily installs by period
Related Utilities Apps
View Allpython@3.13
Popular
Interpreted, interactive, object-oriented programming language
Utilities v3.13.12