<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 5 Things You Don&#8217;t Know About User IDs That Will Destroy You</title>
	<atom:link href="http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/</link>
	<description>technical ramblings from a wanna-be unix dinosaur</description>
	<lastBuildDate>Wed, 21 Jul 2010 07:31:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: &#34;setuid demystified&#34; is flawed</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-291</link>
		<dc:creator>&#34;setuid demystified&#34; is flawed</dc:creator>
		<pubDate>Fri, 01 May 2009 09:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-291</guid>
		<description>Actually, it turns out that the &quot;setuid demystified&quot; paper was seriously flawed, which is why those guys wrote a followup paper titled &quot;revising setuid demystified&quot; [USENIX ;login 2008], see: &lt;a href=&quot;http://www.eecs.berkeley.edu/%7Edaw/papers/setuid-login08b.pdf&quot; rel=&quot;nofollow&quot;&gt;http://www.eecs.berkeley.edu/~daw/papers/setuid...&lt;/a&gt;&lt;br&gt;&lt;br&gt;They also made the code that supposedly safely manipulates identity available here: &lt;a href=&quot;http://code.google.com/p/change-process-identity/&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/change-process-identity/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Actually, it turns out that the &#8220;setuid demystified&#8221; paper was seriously flawed, which is why those guys wrote a followup paper titled &#8220;revising setuid demystified&#8221; [USENIX ;login 2008], see: <a href="http://www.eecs.berkeley.edu/%7Edaw/papers/setuid-login08b.pdf" rel="nofollow"></a><a href="http://www.eecs.berkeley.edu/~daw/papers/setuid.." rel="nofollow">http://www.eecs.berkeley.edu/~daw/papers/setuid..</a>.</p>
<p>They also made the code that supposedly safely manipulates identity available here: <a href="http://code.google.com/p/change-process-identity/" rel="nofollow">http://code.google.com/p/change-process-identity/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Khang Toh</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-244</link>
		<dc:creator>Khang Toh</dc:creator>
		<pubDate>Mon, 27 Apr 2009 13:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-244</guid>
		<description>Did you you submit a patch for starling?</description>
		<content:encoded><![CDATA[<p>Did you you submit a patch for starling?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Farmer</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-229</link>
		<dc:creator>Jesse Farmer</dc:creator>
		<pubDate>Thu, 16 Apr 2009 22:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-229</guid>
		<description>Bibble,

What you said is true but irrelevant.  People aren&#039;t writing insecure code intentionally, they&#039;re writing it because they don&#039;t know how these things work!

The solution isn&#039;t to rant and rave about idiot engineers, it&#039;s to design systems and libraries that are easy to understand and do the right thing, and make up the difference by educating people.

That&#039;s exactly what Joe is doing.</description>
		<content:encoded><![CDATA[<p>Bibble,</p>
<p>What you said is true but irrelevant.  People aren&#8217;t writing insecure code intentionally, they&#8217;re writing it because they don&#8217;t know how these things work!</p>
<p>The solution isn&#8217;t to rant and rave about idiot engineers, it&#8217;s to design systems and libraries that are easy to understand and do the right thing, and make up the difference by educating people.</p>
<p>That&#8217;s exactly what Joe is doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-228</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 15 Apr 2009 18:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-228</guid>
		<description>Stevens was a great author and teacher, but UNIX systems have evolved since then and his books do not apply to many current UNIX systems.  To better understand UIDs and security, I recommend Chen&#039;s paper &quot;SetUID Demystified&quot; from USENIX Security 2002.  It can be found at http://www.eecs.berkeley.edu/~daw/papers/setuid-usenix02.pdf.  Matt Bishop&#039;s Writing Safe SetUID Programs at http://nob.cs.ucdavis.edu/bishop/secprog/ is another essential reference.</description>
		<content:encoded><![CDATA[<p>Stevens was a great author and teacher, but UNIX systems have evolved since then and his books do not apply to many current UNIX systems.  To better understand UIDs and security, I recommend Chen&#8217;s paper &#8220;SetUID Demystified&#8221; from USENIX Security 2002.  It can be found at <a href="http://www.eecs.berkeley.edu/~daw/papers/setuid-usenix02.pdf" rel="nofollow">http://www.eecs.berkeley.edu/~daw/papers/setuid-usenix02.pdf</a>.  Matt Bishop&#8217;s Writing Safe SetUID Programs at <a href="http://nob.cs.ucdavis.edu/bishop/secprog/" rel="nofollow">http://nob.cs.ucdavis.edu/bishop/secprog/</a> is another essential reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron Kerr</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-227</link>
		<dc:creator>Cameron Kerr</dc:creator>
		<pubDate>Wed, 15 Apr 2009 02:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-227</guid>
		<description>Good coverage, although you didn&#039;t make any mention of the added file-system permissions that Linux uses.

setfsuid(2) etc., credentials(7) and also capabilities(7) are useful manual pages for further exploration for Linux developers.</description>
		<content:encoded><![CDATA[<p>Good coverage, although you didn&#8217;t make any mention of the added file-system permissions that Linux uses.</p>
<p>setfsuid(2) etc., credentials(7) and also capabilities(7) are useful manual pages for further exploration for Linux developers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bibble</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-221</link>
		<dc:creator>Bibble</dc:creator>
		<pubDate>Tue, 14 Apr 2009 09:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-221</guid>
		<description>UNIX UIDs are not as hard to understand as you imagine. Stevens covered it years and years ago.

If you don&#039;t understand how they work you shouldn&#039;t run anything as root. If you don&#039;t know how to safely drop privileges from UID 0 to some other userm then you don&#039;t know how to write secure code.

Anyone who thinks they can learn secure programming from the odd page here and there of code snippets is mistaken.</description>
		<content:encoded><![CDATA[<p>UNIX UIDs are not as hard to understand as you imagine. Stevens covered it years and years ago.</p>
<p>If you don&#8217;t understand how they work you shouldn&#8217;t run anything as root. If you don&#8217;t know how to safely drop privileges from UID 0 to some other userm then you don&#8217;t know how to write secure code.</p>
<p>Anyone who thinks they can learn secure programming from the odd page here and there of code snippets is mistaken.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Gaffney</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-220</link>
		<dc:creator>Chris Gaffney</dc:creator>
		<pubDate>Mon, 13 Apr 2009 20:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-220</guid>
		<description>@Khang Toh: Yep, Starling has been patched. We&#039;re collecting a couple items before we do the next release.</description>
		<content:encoded><![CDATA[<p>@Khang Toh: Yep, Starling has been patched. We&#8217;re collecting a couple items before we do the next release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Damato</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-219</link>
		<dc:creator>Joe Damato</dc:creator>
		<pubDate>Mon, 13 Apr 2009 20:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-219</guid>
		<description>@jelle - I probably should have been more clear, but I was referring to the case where you are calling setuid() as root to drop privileges.

In that case, all 3 IDs are set to the ID passed in. 

Sorry about the confusion, I&#039;ll see if I can make it a bit more clear.</description>
		<content:encoded><![CDATA[<p>@jelle &#8211; I probably should have been more clear, but I was referring to the case where you are calling setuid() as root to drop privileges.</p>
<p>In that case, all 3 IDs are set to the ID passed in. </p>
<p>Sorry about the confusion, I&#8217;ll see if I can make it a bit more clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jelle</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-218</link>
		<dc:creator>Jelle</dc:creator>
		<pubDate>Mon, 13 Apr 2009 19:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-218</guid>
		<description>You&#039;re wrong about setuid (atleast on linux), see:
http://linux.die.net/man/2/setuid
setuid() sets the effective user ID of the current process. If the effective UID of the caller is root, the real UID and saved set-user-ID are also set.</description>
		<content:encoded><![CDATA[<p>You&#8217;re wrong about setuid (atleast on linux), see:<br />
<a href="http://linux.die.net/man/2/setuid" rel="nofollow">http://linux.die.net/man/2/setuid</a><br />
setuid() sets the effective user ID of the current process. If the effective UID of the caller is root, the real UID and saved set-user-ID are also set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Damato</title>
		<link>http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/comment-page-1/#comment-217</link>
		<dc:creator>Joe Damato</dc:creator>
		<pubDate>Mon, 13 Apr 2009 19:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://timetobleed.com/?p=419#comment-217</guid>
		<description>@Khang Toh: Yep.</description>
		<content:encoded><![CDATA[<p>@Khang Toh: Yep.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
