Differences between revisions 2 and 3
Revision 2 as of 2017-02-03 03:00:46
Size: 512
Editor: PieterSmit
Comment:
Revision 3 as of 2017-02-03 03:19:13
Size: 775
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
 * With encrypted home dir, need to move the .google_authenticator file out of the home dir.
   * Set pam authentication with a non default path
      {{{ auth required pam_google_authenticator.so secret=/etc/googleauthenticator/${USER}/google_authenticator }}}

Google Authenticator

Notes Google Authenticator

  • Display google qr code.
    •  https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/Example%3Aalice%40google.com%3Fsecret%3DJBSWY3DPEHPK3PXP%26issuer%3DExample 

  • Display on command line
    •  qrencode -t ANSI -d 300 -s 10 "otpauth://totp/USER@vigor?secret=RBPXTBQB5ZVBUKJINCMBTG4F6E" 

  • With encrypted home dir, need to move the .google_authenticator file out of the home dir.
    • Set pam authentication with a non default path
      •  auth required pam_google_authenticator.so secret=/etc/googleauthenticator/${USER}/google_authenticator 

...

Linux/GoogleAuthenticator (last edited 2017-02-03 03:19:13 by PieterSmit)