fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
4.77k stars 294 forks source link

google_authenticator #466

Open mshzsh opened 1 year ago

mshzsh commented 1 year ago

2 step verification not working on ly . Is there any hope we can use auth required pam_google_authenticator.so in /etc/pam.d/ly?

AnErrupTion commented 1 year ago

@mshzsh Could you please detail a bit more? Like, how doesn't it work?

mshzsh commented 1 year ago

For example, in gdm3, when we add auth required pam_google_authenticator.so in /etc/pam.d/gdm-password, after getting the password, verification code input will be taken, exactly the same in emptty. But in ly, when add auth required pam_google_authenticator.so to /etc/pam.d/ly, it gives an authorization failed error after getting the password.