Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 6:51 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: yubikey + openvpn
PostPosted: Tue Jun 07, 2016 9:14 am 
Offline

Joined: Tue Jun 07, 2016 9:02 am
Posts: 1
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


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group