Link to home
Start Free TrialLog in
Avatar of Michael Campellone
Michael CampelloneFlag for United States of America

asked on

Google Authenticator 2FA in Linux Lite desktop lacking input?

Greetings, all!

I am using Linux Lite on some remote maintenance systems, and I installed 2FA with Google Authenticator.  All works exactly as expected; upon login, I am first asked for my authenticator security code, and then for my password.  Also, in Terminal, all sudo functions are the same - first asking for code, then password.

Where I run into problems, is on desktop apps that require root.  I click the desktop app, and the only prompt that ever pops up is a single password field.  (it is labeled password).  This is for doing most things in the GUI that require root.  I can't use the authenticator code, and the password alone won't work.  The only place in the GUI which works seamlessly with the authenticator code is the initial login, as well as all sudo functions in Terminal - works great.

Forgive me  - but am I missing something?  Or is it that going forward, ALL activities must be conducted only in terminal that require root?  (I hope not - this is for other simple point-and-click users to use as well)...

I really appreciate any input - thanks so much!

Regards,

Mike
Avatar of ArneLovius
ArneLovius
Flag of United Kingdom of Great Britain and Northern Ireland image

At a guess, gksudo does not support the 2FA.

As an alternative, one call call any application from a terminal session such as

sudo firefox

Open in new window


or become sudo with

sudo su -

Open in new window


and then launch the application
Avatar of Michael Campellone

ASKER

Thank you - yes, I knew that but was trying to find a way around for the "Windows-minded" non-technical user.  However, this is just a small learning curve and I will have to handle them on a case-by-case basis as they come up.  Thanks so much for the reply!
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.