Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Jan 04, 2013 3:30 am 
Offline

Joined: Fri Jan 04, 2013 3:00 am
Posts: 3
I'm setting up my yubikey for two factor auth in my machines. This is what I added to /etc/pam.d/{login,sudo} and it works perfectly:

Code:
auth required pam_yubico.so id=XXXX authfile=/etc/yubikey_mappings


Now it get's more complicated. I added the above to my xscreensaver pam.d config and I can't seem to get it to authorize! I have a theory that the problem is related to gnome-keyring, but I don't know that for sure. This is my .xinitrc:

Code:
nm-applet &
xcompmgr -cF &
eval `gnome-keyring-daemon`

exec awesome


I get the following error:

Code:
warning: gnome_keyring:: C_Initialize called twice from same process


and the yubikey part never authenticates. Can anyone help me fix this problem? I can turn on some kind of debugging but I'm not totally sure how


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Fri Jan 04, 2013 1:50 pm 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
Hello,

please try this

user@host$ sudo pam-auth-update

_________________
-Tom


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 04, 2013 2:52 pm 
Offline

Joined: Fri Jan 04, 2013 3:00 am
Posts: 3
Ok, I did that and disabled the gnome-keyring, tried the xscreensaver dance but it still failed auth. Next I tried enabling the Yubico option and removing my custom addtions, same result.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 04, 2013 4:09 pm 
Offline

Joined: Fri Jan 04, 2013 3:00 am
Posts: 3
Ok, this is so bizarre. I got everything to work (after trying what you recommended and actually looking at the files and filling in the required values), gdm included, *except* for xscreensaver


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users 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