2-Factor authentication not working in logging screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Greeter |
New
|
Wishlist
|
Unassigned |
Bug Description
I have just configured in elementaryOS 0.3.2 Google Authenticator to have 2FA enabled. The instuctions followed are the following (original source: <https:/
# Installation
sudo apt-get install libpam-
# Running the app
google-
# Some options configured afterwards
[...]
Added to the /etc/pam.d/login the following lines at the end to enable it.
# 2-Factor Authentication
auth required pam_google_
After doing so: Ctrl+Shift+F1
The verification code is requested as expected and works perfectly. Sweet.
I wanted however to activate this option in the login screen. Thus I added the following lines to: /etc/pam.d/lightdm and /etc/pam.
# 2-Factor Authentication
auth required pam_google_
However, when trying to login and the password is requested (and properly provided), the Login screen does not request the verification code as it happens with the login and I cannot connect! Am I missing something?
NOTE: I could deactivate the pam.d configuration by login with the terminal (Ctrl+Shift+F1 again), inserting the verificatoin code for the 2FA, sudoing, and removing the added lines, but I feel that something needs to be fixed around there...
description: | updated |
description: | updated |
Changed in pantheon-greeter: | |
importance: | Undecided → Wishlist |