[PVE-User] Two-factor auth

Gilberto Nunes gilberto.nunes32 at gmail.com
Mon Sep 15 14:59:07 CEST 2014

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:


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

Yes... I do it with  oathkeygen... oauthjeygen <user>, oauthkeygen
<user>@pve... no effect...

2014-09-15 9:54 GMT-03:00 Dietmar Maurer <dietmar at proxmox.com>:

>  You added the secret key to the user?
> *From:* pve-user [mailto:pve-user-bounces at pve.proxmox.com] *On Behalf Of *Gilberto
> Nunes
> *Sent:* Montag, 15. September 2014 14:27
> *To:* pve-user at 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= user=gilberto at pve msg=oath auth failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20140915/a9d5f824/attachment.htm>

More information about the pve-user mailing list