<?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=1824" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-04-09T15:48:30+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=5&amp;t=1824</id>
<entry>
<author><name><![CDATA[besson3c]]></name></author>
<updated>2015-04-09T15:48:30+01:00</updated>
<published>2015-04-09T15:48:30+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7161#p7161</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7161#p7161"/>
<title type="html"><![CDATA[Re: OpenVPN PAM config file for Debian]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7161#p7161"><![CDATA[
Figured it out, this works for me:<br /><br />auth             required     pam_yubico.so authfile=/path/to/yubikeys id=22010 debug<br />auth    required        pam_unix.so    try_first_pass debug shadow nodelay<br />account required        pam_unix.so<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3647">besson3c</a> — Thu Apr 09, 2015 3:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[besson3c]]></name></author>
<updated>2015-04-09T15:15:35+01:00</updated>
<published>2015-04-09T15:15:35+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7159#p7159</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7159#p7159"/>
<title type="html"><![CDATA[Re: OpenVPN PAM config file for Debian]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7159#p7159"><![CDATA[
Here is my current attempt (which is authenticating my Yubikey but not my system password):<br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />auth             required     pam_yubico.so authfile=/path/to/yubikeys id=22010 debug<br />auth             include        common-auth<br />account          required       pam_nologin.so<br />account          include        common-account<br />password         include        common-password<br />session          include        common-session<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3647">besson3c</a> — Thu Apr 09, 2015 3:15 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[besson3c]]></name></author>
<updated>2015-04-08T19:55:31+01:00</updated>
<published>2015-04-08T19:55:31+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7156#p7156</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7156#p7156"/>
<title type="html"><![CDATA[OpenVPN PAM config file for Debian]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1824&amp;p=7156#p7156"><![CDATA[
Hello,<br /><br />I'm having problems getting PAM password checks working as my second factor for my OpenVPN auth. The instructions here (for without FreeRadius) include a PAM config file for Redhat based systems:<br /><br /><!-- m --><a class="postlink" href="https://developers.yubico.com/yubico-pam/YubiKey_and_OpenVPN_via_PAM.html">https://developers.yubico.com/yubico-pa ... a_PAM.html</a><!-- m --><br /><br />Here is that config:<br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />auth             required     pam_yubico.so authfile=/etc/yubikeyid id=16 debug<br />auth             include        system-auth<br />account          required       pam_nologin.so<br />account          include        system-auth<br />password         include        system-auth<br />session          include        system-auth<br /></div><br /><br />When I comment out everything but the first line, my VPN connections work fine, but of course authentication works with any password I provide it that precedes my Yubikey OTP. On Debian based systems there isn't a system-auth, but it isn't working with &quot;common-auth&quot; in place of &quot;system-auth&quot; either.<br /><br />Any feedback on a working Debian-compatible configuration?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3647">besson3c</a> — Wed Apr 08, 2015 7:55 pm</p><hr />
]]></content>
</entry>
</feed>