google / google-authenticator-libpam

Apache License 2.0
1.75k stars 280 forks source link

Force authenticator set upon login #215

Closed jht-prog closed 2 years ago

jht-prog commented 2 years ago

Is there a way to config PAM such that a user has a one-time password allowing them to login in order to setup google auth for the second factor? Then after that the second factor is required.

ThomasHabets commented 2 years ago

Not built into this module, and not that I know in general.