<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>brucetimberlake.com &#187; security</title>
	<atom:link href="http://brucetimberlake.com/blog/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://brucetimberlake.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 30 Jul 2010 16:07:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>sudo and local passwords vs SSH</title>
		<link>http://brucetimberlake.com/blog/2009/02/12/sudo-and-local-passwords-vs-ssh/</link>
		<comments>http://brucetimberlake.com/blog/2009/02/12/sudo-and-local-passwords-vs-ssh/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 16:49:34 +0000</pubDate>
		<dc:creator>Bruce</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://brucetimberlake.com/blog/?p=17</guid>
		<description><![CDATA[Just tracked down a problem with sudo at work. The error message sudo: pam_authenticate: Module is unknown would show up when doing &#8220;sudo su -&#8221; An initial strace shows that libkeyutils was being looked for: open("/lib64/tls/x86_64/libkeyutils.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib64/tls/x86_64", 0x7fffe8902810) = -1 ENOENT (No such file or directory) [...]]]></description>
			<content:encoded><![CDATA[<p>Just tracked down a problem with sudo at work. The error message</p>
<p><code>sudo: pam_authenticate: Module is unknown</code></p>
<p>would show up when doing &#8220;sudo su -&#8221;</p>
<p>An initial strace shows that libkeyutils was being looked for:</p>
<pre>
open("/lib64/tls/x86_64/libkeyutils.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/x86_64", 0x7fffe8902810) = -1 ENOENT (No such file or directory)
open("/lib64/tls/libkeyutils.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib64/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib64/x86_64/libkeyutils.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib64/x86_64", 0x7fffe8902810)   = -1 ENOENT (No such file or directory)
</pre>
<p>but was not installed on the server. A &#8220;correct&#8221; server shows:</p>
<pre>
[root@host ~]# rpm -qa | grep keyutils|sort
keyutils-libs-1.2-1.el5
keyutils-libs-1.2-1.el5
keyutils-libs-devel-1.2-1.el5
keyutils-libs-devel-1.2-1.el5
</pre>
<p>Without keyutils installed, the SSH keys we had set up weren&#8217;t able to be processed. PAM then fell back to local passwords, which was not set for the particular user in question.</p>
<p>Anyway, just hoping this helps someone else in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://brucetimberlake.com/blog/2009/02/12/sudo-and-local-passwords-vs-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
