2

I installed the 2-Way login like in this manual:

how to setup two factor authentication in Ubuntu for Ubuntu users using Google authenticator?

So now I'm trying to get it working with XRDP. I tried a few things, but in general I'm out of ideas now.. Does anybody have it running already?

Thank's in advance for any help!

Minky
  • 21

1 Answers1

0

Edit /etc/pam.d/common-auth and replace line:

auth required pam_google_authenticator.so

with

auth required pam_google_authenticator.so forward_pass
auth required pam_unix.so use_first_pass

Now when ever you login or use sudo, password is asked which is now in form password + authentication code from authenticator. Example: password123123.

sotirov
  • 4,379