Discussion:
[PVE-User] Two-factor auth
Gilberto Nunes
2014-09-15 12:17:01 UTC
Permalink
Hi

I have facing some issues here...
I follow this instruction:
http://pve.proxmox.com/wiki/Two-Factor_Authentication
But I am unable to log in into Proxmox...
I used the oauthkeygen and also oauthkeygen root, oauthkeygen ***@pam as
well but received a Login Failed...
In my smartphone. I used Google Authenticator in order to generate the auth
code... I insert root and ***@pam and the app generate the code but
doesn't work!

Any idea?

Thank you

Gilberto Ferreira
Gilberto Nunes
2014-09-15 12:22:10 UTC
Permalink
Perhaps I need to do a fresh installation???
I just do an upgrade from 3.2 to 3.3 or doesn't matter?
Post by Gilberto Nunes
Hi
I have facing some issues here...
http://pve.proxmox.com/wiki/Two-Factor_Authentication
But I am unable to log in into Proxmox...
well but received a Login Failed...
In my smartphone. I used Google Authenticator in order to generate the
doesn't work!
Any idea?
Thank you
Gilberto Ferreira
--
Obrigado

Cordialmente

Gilberto Ferreira


Konnecta TI Tecnologia - Sistemas de Virtualização, Soluções de
Armazenamento de Dados, Criação de SAN/NAS, Zimbra Mail Server, Implantação
de Linux e Windows server.

Fundação Softville
Rua Otto Boehm, 48

(47) 9676-7530

Skype: gilberto.nunes36


www.konnectati.com.br

blog.konnectati.com.br
Gilberto Nunes
2014-09-15 12:26:35 UTC
Permalink
I get this error on syslog:

Sep 15 09:25:16 pve01 pvedaemon[3138]: WARNING: Use of uninitialized value
$keys in pattern match (m//) at /usr/share/perl5/PVE/AccessControl.pm line
1235.
Sep 15 09:25:16 pve01 pvedaemon[3138]: authentication failure;
Post by Gilberto Nunes
Perhaps I need to do a fresh installation???
I just do an upgrade from 3.2 to 3.3 or doesn't matter?
Hi
Post by Gilberto Nunes
I have facing some issues here...
http://pve.proxmox.com/wiki/Two-Factor_Authentication
But I am unable to log in into Proxmox...
as well but received a Login Failed...
In my smartphone. I used Google Authenticator in order to generate the
but doesn't work!
Any idea?
Thank you
Gilberto Ferreira
--
Obrigado
Cordialmente
Gilberto Ferreira
Konnecta TI Tecnologia - Sistemas de Virtualização, Soluções de
Armazenamento de Dados, Criação de SAN/NAS, Zimbra Mail Server, Implantação
de Linux e Windows server.
Fundação Softville
Rua Otto Boehm, 48
(47) 9676-7530
Skype: gilberto.nunes36
www.konnectati.com.br
blog.konnectati.com.br
Gilberto Ferreira
Dietmar Maurer
2014-09-15 12:54:42 UTC
Permalink
You added the secret key to the user?

From: pve-user [mailto:pve-user-***@pve.proxmox.com] On Behalf Of Gilberto Nunes
Sent: Montag, 15. September 2014 14:27
To: pve-***@pve.proxmox.com
Subject: Re: [PVE-User] Two-factor auth

I get this error on syslog:

Sep 15 09:25:16 pve01 pvedaemon[3138]: WARNING: Use of uninitialized value $keys in pattern match (m//) at /usr/share/perl5/PVE/AccessControl.pm line 1235.
Sep 15 09:25:16 pve01 pvedaemon[3138]: authentication failure; rhost=192.168.1.101 user=***@pve msg=oath auth failed
Gilberto Nunes
2014-09-15 12:59:07 UTC
Permalink
Like this?

2. Add a unique secret (password) to each user - this secret has also to be
added to your OATH app on the smartphone of each user. To generate a
secret, you can run the following command on your Proxmox VE host:

oathkeygen

If a user has more secrets, just add all your secrets separated with spaces.


Yes... I do it with oathkeygen... oauthjeygen <user>, oauthkeygen
Post by Dietmar Maurer
You added the secret key to the user?
Nunes
*Sent:* Montag, 15. September 2014 14:27
*Subject:* Re: [PVE-User] Two-factor auth
Sep 15 09:25:16 pve01 pvedaemon[3138]: WARNING: Use of uninitialized value
$keys in pattern match (m//) at /usr/share/perl5/PVE/AccessControl.pm line
1235.
Sep 15 09:25:16 pve01 pvedaemon[3138]: authentication failure;
Gilberto Nunes
2014-09-15 13:00:27 UTC
Permalink
Or, you meant do it in Key ID's field on Users configuration??
Post by Gilberto Nunes
Like this?
2. Add a unique secret (password) to each user - this secret has also to
be added to your OATH app on the smartphone of each user. To generate a
oathkeygen
If a user has more secrets, just add all your secrets separated with spaces.
Yes... I do it with oathkeygen... oauthjeygen <user>, oauthkeygen
You added the secret key to the user?
*Gilberto Nunes
*Sent:* Montag, 15. September 2014 14:27
*Subject:* Re: [PVE-User] Two-factor auth
Sep 15 09:25:16 pve01 pvedaemon[3138]: WARNING: Use of uninitialized
value $keys in pattern match (m//) at /usr/share/perl5/PVE/AccessControl.pm
line 1235.
Sep 15 09:25:16 pve01 pvedaemon[3138]: authentication failure;
Gilberto Nunes
2014-09-15 13:05:04 UTC
Permalink
Oh... I figure out...
I fill Key ID's and now works as a charm!
Just a note: this is not in the how to...

Thanks
Post by Gilberto Nunes
Or, you meant do it in Key ID's field on Users configuration??
Like this?
Post by Gilberto Nunes
2. Add a unique secret (password) to each user - this secret has also to
be added to your OATH app on the smartphone of each user. To generate a
oathkeygen
If a user has more secrets, just add all your secrets separated with spaces.
Yes... I do it with oathkeygen... oauthjeygen <user>, oauthkeygen
You added the secret key to the user?
Of *Gilberto Nunes
*Sent:* Montag, 15. September 2014 14:27
*Subject:* Re: [PVE-User] Two-factor auth
Sep 15 09:25:16 pve01 pvedaemon[3138]: WARNING: Use of uninitialized
value $keys in pattern match (m//) at /usr/share/perl5/PVE/AccessControl.pm
line 1235.
Sep 15 09:25:16 pve01 pvedaemon[3138]: authentication failure;
Loading...