3

I'm setting up Ubuntu 18.04, and trying the Ubuntu auth users with Google accounts from my G Suite. That's the idea, but after search about that, I can't find much information for this. Any ideas?.

2 Answers2

3

There's a PAM module for google Authentication. On your system the following command shows the package details.

$ apt show libpam-google-authenticator

You can read about it at Github here:

https://github.com/google/google-authenticator-libpam

X Tian
  • 10,413
  • 2
  • 33
  • 48
1

What you need is centralised authentication, something like LDAP.

If you use a tool like Okta, you can indirectly tie GSuite to AD (or an LDAP server). And then of course you can tie OpenSSH there as well.

Bart
  • 2,151
  • 1
  • 10
  • 26
  • 1
    Thanks, in my work, we have LDAP, and the G-Suite authenticate with LDAP, linux too, but my idea, If is possible, was authenticate with the google account, for example, the user login in linux with [email protected] and password in the LDAP. – Daniel Gonzalez Jul 04 '19 at 15:47