google / google/google-authenticator-libpam

Implement 2FA for Raspberry Pi

Open
#236 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2k
Forks
305
PR merge metrics
No merged PRs in 30d

Description

i am trying to enable 2FA in my raspberry pi board
i have added google-authenticator-libpam to my build. I have followed these steps, which are mentioned below.

1.Added google-authenticator-libpam pack in my build
2.add the **auth equired pam_google_authenticator.so nullok** line in sshd file which is located in the /etc/pam.d/ directory
3.set the value **yes** to **KbdInteractiveAuthentication** in the sshd_config file which is located in the /etc/sshd/ directory
4.Generate the code and done as per guidance

but here 2FA is not enabled.
shall i need more configuration?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.