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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-01-07T00:28:21+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=3&amp;t=882</id>
<entry>
<author><name><![CDATA[jrl657]]></name></author>
<updated>2015-01-07T00:28:21+01:00</updated>
<published>2015-01-07T00:28:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=882&amp;p=6681#p6681</id>
<link href="https://forum.yubico.com/viewtopic.php?t=882&amp;p=6681#p6681"/>
<title type="html"><![CDATA[Re: Exclude a userid from needing a YubiKey on Linux?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=882&amp;p=6681#p6681"><![CDATA[
Wouldn't you just use the pam module  pam_succeed_if.so? The Following taken from an online doc for pam_succeed_if.so:<br /><br /><strong><br />Given that the type matches, only loads the othermodule rule if the UID is over 500. Adjust the number after default to skip several rules.<br /><br />type [default=1 success=ignore] pam_succeed_if.so quiet uid &gt; 500<br />type required othermodule.so arguments...e<br /></strong><br /><br />So the type would be &quot;auth&quot;<br />instead of uid &gt; 500 it would be &quot;user ingroup nonyubi&quot;<br />instead of othermodule.so it would be the yubi pam module entry.<br /><br />then create a group called nonyubi and add all the users that you don't want yubikey to be enforced for.<br /><br />All this does is not load the line following the pam_succeed_if.so if the test is true.<br /><br />Will this not work?<br /> <br />(This can also be reversed with notingroup test)<br /><br />Jim<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3443">jrl657</a> — Wed Jan 07, 2015 12:28 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[darkavich]]></name></author>
<updated>2013-06-13T22:58:02+01:00</updated>
<published>2013-06-13T22:58:02+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=882&amp;p=4053#p4053</id>
<link href="https://forum.yubico.com/viewtopic.php?t=882&amp;p=4053#p4053"/>
<title type="html"><![CDATA[Re: Exclude a userid from needing a YubiKey on Linux?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=882&amp;p=4053#p4053"><![CDATA[
<div class="quotetitle">Tom wrote:</div><div class="quotecontent"><br />Hello Jeff,<br /><br />Unfortunately you cannot do perform &quot;discrete yubikey access&quot; at the moment. You can remotely access your server and log in with a Yubikey, but you cannot enforce it only for some users. This might change in the near future but at the moment what you describe is not possible.<br /><br />I hope this helps.<br />Tom.<br /></div><br /><br />Hi Jeff,<br />    I was wondering if any new effort has been put into this feature? We are in the process of evaluating a yubikey deployment for UNIX logins and we can not have specific accounts tied to OTP. They must be excluded (for example the root account). We require a way into the local system if the authentication server is down. I see that many other PAM auth modules have arguments for things like exclude_users, but this one does not seem to support one. Could you let us know where (if at all) this feature is on the roadmap?<br /><br />Thanks,<br />    -Steve<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2471">darkavich</a> — Thu Jun 13, 2013 10:58 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2012-12-03T09:02:16+01:00</updated>
<published>2012-12-03T09:02:16+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=882&amp;p=3367#p3367</id>
<link href="https://forum.yubico.com/viewtopic.php?t=882&amp;p=3367#p3367"/>
<title type="html"><![CDATA[Re: Exclude a userid from needing a YubiKey on Linux?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=882&amp;p=3367#p3367"><![CDATA[
<div class="quotetitle">TankerT wrote:</div><div class="quotecontent"><br />Most of our servers are Red Hat Enterprise 5 (64 bit) and we have one Red Hat 6 (Enterprise) server.  All using local OS authentication.  We want to use the two-factor for SSH connections, as that is where most administration occurs.<br /><br />These servers run LAMP, R and RStudio.<br /><br />Thanks,<br /><br />Jeff<br /></div><br /><br />Hello Jeff,<br /><br />Unfortunately you cannot do perform &quot;discrete yubikey access&quot; at the moment. You can remotely access your server and log in with a Yubikey, but you cannot enforce it only for some users. This might change in the near future but at the moment what you describe is not possible.<br /><br />I hope this helps.<br />Tom.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Mon Dec 03, 2012 9:02 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[TankerT]]></name></author>
<updated>2012-11-30T21:06:46+01:00</updated>
<published>2012-11-30T21:06:46+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=882&amp;p=3366#p3366</id>
<link href="https://forum.yubico.com/viewtopic.php?t=882&amp;p=3366#p3366"/>
<title type="html"><![CDATA[Re: Exclude a userid from needing a YubiKey on Linux?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=882&amp;p=3366#p3366"><![CDATA[
Most of our servers are Red Hat Enterprise 5 (64 bit) and we have one Red Hat 6 (Enterprise) server.  All using local OS authentication.  We want to use the two-factor for SSH connections, as that is where most administration occurs.<br /><br />These servers run LAMP, R and RStudio.<br /><br />Thanks,<br /><br />Jeff<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1970">TankerT</a> — Fri Nov 30, 2012 9:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[samir]]></name></author>
<updated>2012-11-30T12:45:37+01:00</updated>
<published>2012-11-30T12:45:37+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=882&amp;p=3364#p3364</id>
<link href="https://forum.yubico.com/viewtopic.php?t=882&amp;p=3364#p3364"/>
<title type="html"><![CDATA[Re: Exclude a userid from needing a YubiKey on Linux?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=882&amp;p=3364#p3364"><![CDATA[
Hello,<br /><br />Please provide us details on which applications/services on the hosted linux servers (e.g. ssh or ftp or a web application etc.?) that you would like to enable for selective two-factor authentication. Please try to include as many details on your environment as possible (e.g. OS version, applications/services and software used etc.) so we can suggest a best solution to meet your requirement.<br /><br />Best regards,<br />Samir.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1076">samir</a> — Fri Nov 30, 2012 12:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[TankerT]]></name></author>
<updated>2012-11-29T21:30:57+01:00</updated>
<published>2012-11-29T21:30:57+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=882&amp;p=3360#p3360</id>
<link href="https://forum.yubico.com/viewtopic.php?t=882&amp;p=3360#p3360"/>
<title type="html"><![CDATA[Exclude a userid from needing a YubiKey on Linux?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=882&amp;p=3360#p3360"><![CDATA[
Hello,<br /><br />My first time trying to set this up, so please bear with me if these are simple questions.<br /><br />We want to set up our system to require users that are logging in using two-factor with a YubiKey to our Linux servers.<br /><br />Our only complication is that our servers are hosted by a hosting providor.  As such, they would not have a YubiKey availble to them.<br /><br />Can I somehow set up the requirement for using the YubiKey on a per user basis?  <br /><br />As an example, John Doe works for us, but Jim Smith works for the hosting company.<br /><br />As such, user ID jdoe would need a YubiKey, but user ID jsmith would just login with an ID and password.<br /><br />Is this possible?<br /><br />Thanks,<br /><br />JT<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1970">TankerT</a> — Thu Nov 29, 2012 9:30 pm</p><hr />
]]></content>
</entry>
</feed>