Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Jul 04, 2014 9:02 am 
Offline

Joined: Fri Jul 04, 2014 8:43 am
Posts: 2
Hi,

I've successfully installed and configured Yubico PAM to use two YubiKeys for a local Mac User (10.9) in challenge-response mode (Login, Screensaver and sudo for now).

Problem: now other local users cannot login, because they don't have a challenge-response pair yet :-(

How do I setup Yubico PAM for those other users (I can login to them via terminal)?

Thanks!
Frank


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Mon Jul 07, 2014 9:42 am 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
http://opensource.yubico.com/yubico-pam/

Create a /etc/yubikey_mappings, the file must contain a user name and the Yubikey token ID separated by colons (same format as the passwd file) for each user you want to allow onto the system using a Yubikey.

The mappings should look like this, one per line:

<first user name>:<Yubikey token ID1>:<Yubikey token ID2>:….
<second user name>:<Yubikey token ID3>:<Yubikey token ID4>:….

_________________
-Tom


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 08, 2014 4:38 pm 
Offline

Joined: Fri Jul 04, 2014 8:43 am
Posts: 2
Thanks Tom, but I thought this would only apply to OTP method but not to challenge-response (at least, I got it working without any mappings) ?

In the meantime I found a workaround by copying challenge-response pairs to the other local users' directories, immediately after configuring authorization PAM from the local admin user's account:
Code:
sudo cp ~/.yubico/challenge-1234567 /Users/user2/.yubico/challenge-1234567

Plus chown to user2 and repeating it for all other YubiKeys of that user.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 4 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