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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2014-07-01T16:16:32+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=16&amp;t=1415</id>
<entry>
<author><name><![CDATA[prensrfc]]></name></author>
<updated>2014-07-01T16:16:32+01:00</updated>
<published>2014-07-01T16:16:32+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1415&amp;p=5370#p5370</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1415&amp;p=5370#p5370"/>
<title type="html"><![CDATA[issue with yubikey and pam.d on centos 6.5]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1415&amp;p=5370#p5370"><![CDATA[
Hi, i've got a weird problem which I can't seem to diagnose.<br /><br />I have 2 near identical Centos 6.5 servers, one a standard install &quot;Web Server&quot; build and one a standard install &quot;Database Server&quot; build, not had a chance to mess with them in order to add anything non standard apart from for yubikey;<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">cat /etc/redhat-release; <br />CentOS release 6.5 (Final)</div><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent"> uname -r;<br />2.6.32-431.el6.x86_64</div><br /><br />pulled the latest rpm's from epel repo;<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Installed: libyubikey-1.11-2.el6.x86_64<br />Installed: ykpers-1.6.2-1.el6.x86_64<br />Installed: ykclient-2.7-1.el6.x86_64<br />Installed: pam_yubico-2.13-1.el6.x86_64</div><br /><br />/etc/pam.d/sshd has the following;<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">auth       required     pam_yubico.so id=&#91;MYCODE&#93; key=&#91;MYKEY&#93; debug authfile=/etc/yubikeys url=http://api.yubico.com/wsapi/2.0/verify?id=%d&amp;otp=%s</div><br /><br />/etc/yubikeys contains the correct key for the user<br /><br />/etc/ssh/sshd_config has the following added/enabled;<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">PermitEmptyPasswords no<br />PasswordAuthentication yes<br />ChallengeResponseAuthentication yes<br />UsePAM yes</div><br /><br />and on one server (the web version) it works perfectly and on the other (the db version) it doesn't!<br /><br />only error message is in /var/log/secure;<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Jul  1 15:41:14 localhost sshd&#91;6134&#93;: Postponed keyboard-interactive for USER from IPADDR port 55814 ssh2<br />Jul  1 15:41:19 localhost sshd&#91;6134&#93;: Postponed keyboard-interactive/pam for USER from IPADDR port 55814 ssh2<br />Jul  1 15:41:26 localhost sshd&#91;6133&#93;: error: PAM: Authentication service cannot retrieve authentication info for USER from IPADDR</div><br /><br />the only thing that is noticeable is is a slight delay after the Yubikey is pressed and before the password is asked for on the working server and it there is no delay on the non-working server.<br /><br />both network's look okay and can resolve the api address fine, i can't seem to see any explanation for this.<br /><br />anyone any ideas?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2917">prensrfc</a> — Tue Jul 01, 2014 4:16 pm</p><hr />
]]></content>
</entry>
</feed>