<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=26&amp;t=1732" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-09-26T20:06:36+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=1732</id>
<entry>
<author><name><![CDATA[basteed]]></name></author>
<updated>2015-09-26T20:06:36+01:00</updated>
<published>2015-09-26T20:06:36+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1732&amp;p=7840#p7840</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1732&amp;p=7840#p7840"/>
<title type="html"><![CDATA[Re: OS X 10.10.2 Challange Response kind of working...not]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1732&amp;p=7840#p7840"><![CDATA[
<div class="quotetitle">megatraveller2 wrote:</div><div class="quotecontent"><br />So, at least I got that far <!-- m --><a class="postlink" href="https://github.com/Yubico/yubico-pam/issues/51#issuecomment-74229128">https://github.com/Yubico/yubico-pam/is ... t-74229128</a><!-- m --><br /><br />Maybe I will find here somebody who got the Screensaver login on OS X 10.10 up and running.<br /></div><br />I have just got screensaver 2FA working on 10.10.5 using homebrew installed pam_yubico and my Neo-n<br /><br />As described <a href="https://developers.yubico.com/yubico-pam/MacOS_X_Challenge-Response.html" class="postlink">here</a> YubiKey expects to find the pam_yubico.so file in /usr/lib/pam. Homebrew of course cannot install to system dirs (requires sudo), so I moved it there from the homebrew installed location - for v2.19:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">sudo mv /usr/local/Cellar/pam_yubico/2.19/lib/security/pam_yubico.so /usr/lib/pam/pam_yubico.so</div><br />You could use a sym link, but that may be a problem when you upgrade to  newer version, as the path will change.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3942">basteed</a> — Sat Sep 26, 2015 8:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[megatraveller2]]></name></author>
<updated>2015-02-13T15:05:08+01:00</updated>
<published>2015-02-13T15:05:08+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1732&amp;p=6861#p6861</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1732&amp;p=6861#p6861"/>
<title type="html"><![CDATA[Re: OS X 10.10.2 Challange Response kind of working...not]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1732&amp;p=6861#p6861"><![CDATA[
So, at least I got that far <!-- m --><a class="postlink" href="https://github.com/Yubico/yubico-pam/issues/51#issuecomment-74229128">https://github.com/Yubico/yubico-pam/is ... t-74229128</a><!-- m --><br /><br />Maybe I will find here somebody who got the Screensaver login on OS X 10.10 up and running.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3508">megatraveller2</a> — Fri Feb 13, 2015 3:05 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[megatraveller2]]></name></author>
<updated>2015-02-04T16:27:21+01:00</updated>
<published>2015-02-04T16:27:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1732&amp;p=6817#p6817</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1732&amp;p=6817#p6817"/>
<title type="html"><![CDATA[OS X 10.10.2 Challange Response kind of working...not]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1732&amp;p=6817#p6817"><![CDATA[
Hi,<br /><br />I implemented my new Yubikey into my OS X PAM like described within <a href="https://developers.yubico.com/yubico-pam/MacOS_X_Challenge-Response.html" class="postlink">https://developers.yubico.com/yubico-pam/MacOS_X_Challenge-Response.html</a><br /><br />I entered the <div class="codetitle"><b>Code:</b></div><div class="codecontent">auth       sufficient     pam_yubico.so mode=challenge-response debug</div> line into /etc/pam.d/sudo<br /><br />That is what I get as Output when I try to sudo:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">55-555-1::&#91;20150204-160652&#93;::mT@yg:~<br />$ sudo -i<br />Password:<br />debug: pam_yubico.c:764 (parse_cfg): called.<br />debug: pam_yubico.c:765 (parse_cfg): flags -2147483648 argc 2<br />debug: pam_yubico.c:767 (parse_cfg): argv&#91;0&#93;=mode=challenge-response<br />debug: pam_yubico.c:767 (parse_cfg): argv&#91;1&#93;=debug<br />debug: pam_yubico.c:768 (parse_cfg): id=-1<br />debug: pam_yubico.c:769 (parse_cfg): key=(null)<br />debug: pam_yubico.c:770 (parse_cfg): debug=1<br />debug: pam_yubico.c:771 (parse_cfg): alwaysok=0<br />debug: pam_yubico.c:772 (parse_cfg): verbose_otp=0<br />debug: pam_yubico.c:773 (parse_cfg): try_first_pass=0<br />debug: pam_yubico.c:774 (parse_cfg): use_first_pass=0<br />debug: pam_yubico.c:775 (parse_cfg): authfile=(null)<br />debug: pam_yubico.c:776 (parse_cfg): ldapserver=(null)<br />debug: pam_yubico.c:777 (parse_cfg): ldap_uri=(null)<br />debug: pam_yubico.c:778 (parse_cfg): ldapdn=(null)<br />debug: pam_yubico.c:779 (parse_cfg): user_attr=(null)<br />debug: pam_yubico.c:780 (parse_cfg): yubi_attr=(null)<br />debug: pam_yubico.c:781 (parse_cfg): yubi_attr_prefix=(null)<br />debug: pam_yubico.c:782 (parse_cfg): url=(null)<br />debug: pam_yubico.c:783 (parse_cfg): urllist=(null)<br />debug: pam_yubico.c:784 (parse_cfg): capath=(null)<br />debug: pam_yubico.c:785 (parse_cfg): token_id_length=12<br />debug: pam_yubico.c:786 (parse_cfg): mode=chresp<br />debug: pam_yubico.c:787 (parse_cfg): chalresp_path=(null)<br />debug: pam_yubico.c:829 (pam_sm_authenticate): get user returned: mT<br />debug: pam_yubico.c:506 (do_challenge_response): Loading challenge from file /Users/mT/.yubico/challenge-3016718<br />debug: util.c:270 (load_chalresp_state): Challenge: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX, salt: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX, iterations: 10000, slot: 2<br />debug: pam_yubico.c:584 (do_challenge_response): Got the expected response, generating new challenge (63 bytes).<br />debug: pam_yubico.c:664 (do_challenge_response): Challenge-response success!</div><br /><br />So, it give me a success at the end, but OS X seems to be really unimpressed by this and still ask me for the password -.-<br /><br />Where do I go wrong? :/ <br /><br />I already searched for one week, but of course I do also not want to brick my box, by removing password auth from the /etc/pam.d/sudo<br /><br />It also fails when I try to do the same in the file /etc/pam.d/screensaver <img src="https://forum.yubico.com/images/smilies/icon_e_sad.gif" alt=":(" title="Sad" /><br /><br />Advance Thanks<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3508">megatraveller2</a> — Wed Feb 04, 2015 4:27 pm</p><hr />
]]></content>
</entry>
</feed>