Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2017-02-03 02:59:19
Size: 143
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 4: Line 4:
[[https://wiki.archlinux.org/index.php/Google_Authenticator|Google Authenticator]]  * [[https://wiki.archlinux.org/index.php/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 }}}

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)