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

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

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=23&amp;t=1173</id>
<entry>
<author><name><![CDATA[tpcgk]]></name></author>
<updated>2013-09-25T08:25:33+01:00</updated>
<published>2013-09-25T08:25:33+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4403#p4403</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4403#p4403"/>
<title type="html"><![CDATA[Re: Backup account in PAM that does not require yubikey to l]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4403#p4403"><![CDATA[
I have to admit, it's disheartening that there's no backup method. My thinking is that in a network failure situation where configuration settings must be changed, there will be no way to log into any box that has a yubikey pam module enabled - ergo, you face the risk of permanent lock-out of your machines by deploying the PAM module...<br /><br />Is it possible to change the failure mode of cURL fetches such that the PAM module returns a success? I would love to deploy yubikeys, but the current codebase makes diseaster recovery a nightmare.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2598">tpcgk</a> — Wed Sep 25, 2013 8:25 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2013-09-24T09:50:27+01:00</updated>
<published>2013-09-24T09:50:27+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4396#p4396</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4396#p4396"/>
<title type="html"><![CDATA[Re: Backup account in PAM that does not require yubikey to l]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4396#p4396"><![CDATA[
It doesn't allow opt-out<br /><!-- m --><a class="postlink" href="https://github.com/Yubico/yubico-pam/issues/20">https://github.com/Yubico/yubico-pam/issues/20</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Tue Sep 24, 2013 9:50 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tpcgk]]></name></author>
<updated>2013-09-24T02:02:38+01:00</updated>
<published>2013-09-24T02:02:38+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4393#p4393</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4393#p4393"/>
<title type="html"><![CDATA[Re: Backup account in PAM that does not require yubikey to l]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4393#p4393"><![CDATA[
Also of note: VSFTPD no longer functions with the yubikey PAM module.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2598">tpcgk</a> — Tue Sep 24, 2013 2:02 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tpcgk]]></name></author>
<updated>2013-09-24T00:00:11+01:00</updated>
<published>2013-09-24T00:00:11+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4392#p4392</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4392#p4392"/>
<title type="html"><![CDATA[Backup account in PAM that does not require yubikey to login]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1173&amp;p=4392#p4392"><![CDATA[
Hi all,<br /><br />Done a bunch of reading through the topics here, as well as a bunch of Googling, and have not been able to find a satisfactory solution to my quandry. <br /><br />Basically, I've gotten PAM + Yubikey two-factor authentication working fine on SSH as well as su/sudo, but I'd like to have a backup account that's capable of logging in without a Yubikey since the functionality requires internet access. My thinking is that if I'm ever in a situation where DNS/internet is messed up, and I'm doing maintenence on some machines via LAN, I won't be able to log in at all. <br /><br />Firstly, my setup: 1 yubikey-bearing account, 1 non-yubikey bearing account. PAM module is configured for two-factor requirement, so both password and yubikey are required for any system auth functions. The yubikey-bearing account has an entry in the mapping file, the non-bearing account does not.<br /><br />I've created a backup account, and it's not got an entry in the mapping file, so should not be queried for a Yubikey authentication. However, the PAM module still presents a yubikey query for all mentioned tasks(su, sudo, ssh) along with the password query. <br /><br />I'm GUESSING, probably incorrectly, that something about the PAM stacking is off such that the yubikey module is required inappropriately...but I'm at a loss on how to fix it. Here's my PAM config for yubikeys:<br /><br /><br />Name: Yubico authentication with YubiKey<br />Default: no<br />Priority: 704<br />Auth-Type: Primary<br />Auth:<br />        include         pam_yubico.so   mode=client id=16 debug authfile=/etc/yubikey_mappings try_first_pass<br />Auth-Initial:<br />        include         pam_yubico.so   mode=client id=16 try_first_pass id=16 debug authfile=/etc/yubikey_mappings<br /><br />Any ideas?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2598">tpcgk</a> — Tue Sep 24, 2013 12:00 am</p><hr />
]]></content>
</entry>
</feed>