<?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=5&amp;t=149" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2008-09-02T10:25:37+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=149</id>
<entry>
<author><name><![CDATA[Simon]]></name></author>
<updated>2008-09-02T10:25:37+01:00</updated>
<published>2008-09-02T10:25:37+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=149&amp;p=624#p624</id>
<link href="https://forum.yubico.com/viewtopic.php?t=149&amp;p=624#p624"/>
<title type="html"><![CDATA[Re: Yubikey as a Two-factor legacy Username + password + Yubikey]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=149&amp;p=624#p624"><![CDATA[
Have you configured SSH to use PAM?  It doesn't by default, I think.<br /><br />/Simon<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2">Simon</a> — Tue Sep 02, 2008 10:25 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[timm_tem]]></name></author>
<updated>2008-07-25T22:22:00+01:00</updated>
<published>2008-07-25T22:22:00+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=149&amp;p=492#p492</id>
<link href="https://forum.yubico.com/viewtopic.php?t=149&amp;p=492#p492"/>
<title type="html"><![CDATA[Yubikey as a Two-factor legacy Username + password + Yubikey]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=149&amp;p=492#p492"><![CDATA[
Again sorry just wondering if any one could help...<br /><br />This is taken from <!-- m --><a class="postlink" href="http://code.google.com/p/yubico-pam/issues/detail?id=7">http://code.google.com/p/yubico-pam/issues/detail?id=7</a><!-- m --> <br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />Reported by timm.tem, May 08, 2008<br />Simon <br />It would be great if we could use the Yubikey to do Two-factor legacy<br />Username + password + YubiKey in exactly the same fashion it works on the<br />website <!-- m --><a class="postlink" href="http://www.yubico.com/demo/index.php">http://www.yubico.com/demo/index.php</a><!-- m -->.<br />As currently with the way PAM works anyone who has my key can login to my<br />server<br />Thank you <br />Tim<br /><br />Comment 1 by dion.rowney, Jun 09, 2008<br />I am currently try to work on this, however I find myself bringing in the entire<br />pam_unix module... Is there a better way to avoid code duplication?  <br />Or can my pam_yubico module call the pam_unix module from within?<br /><br />Comment 2 by kittypee, Jun 13, 2008<br />This can be done simply by stacking the pam modules separately.<br />auth required pam_unix.so ...<br />auth required pam_yubikey.so ...<br />This causes pam to require both modules to be run, and both must pass.  Although this solution again would <br />require that bug #4 be fixed.<br /><br />Comment 3 by dion.rowney, Jun 16, 2008<br />It seems that ssh only will prompt for a password regardless and does not give<br />multiple methods.<br /></div><br /><br />kittypee says that you can stack pam modules which does prompt for Yubikey and Password but putty fails saying Network Error: Software causes connection abort<br /><br />The extract from my /etc/pam.d/ssh<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">auth       required     pam_yubico.so id=16 debug<br />auth       required     pam_env.so # &#91;1&#93;<br />auth       required     pam_env.so envfile=/etc/default/locale<br /></div><br /><br />Any help again would be greatfully appreciated <br /><br />Thank you again in advanced<br /><br />Tim<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=57">timm_tem</a> — Fri Jul 25, 2008 10:22 pm</p><hr />
]]></content>
</entry>
</feed>