Yubico Forum
https://forum.yubico.com/

yubikey + openvpn
https://forum.yubico.com/viewtopic.php?f=35&t=2334
Page 1 of 1

Author:  oscarerbetta [ Tue Jun 07, 2016 9:14 am ]
Post subject:  yubikey + openvpn

Hi all,

I have a working OpenVPN environment and a local yubikey validation server.
I need to have this working for non-yubikeys users as well for yubikey users.
I have this working with SSH but with OpenVPN it doesn't work the same
specifications in the /etc/pam.d/openvpn file.

this is my /etc/pam.d/openvpn file:
### YUBICO
# Call Yubikey module for users with key in /etc/yubikeyauth
auth required pam_yubico.so authfile=/etc/yubikeyauth id=2 key=<aes key> url=<myserver> debug

so what I need is that users listed in /etc/yubikeyauth get authenticated with their password+OTP,
and users not listed there just with their password.

How can I achieve this?

Thanks!
Oscar

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/