<?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>permissions &#8211; Accidents Happen</title>
	<atom:link href="https://ah.thameera.com/tag/permissions/feed/" rel="self" type="application/rss+xml" />
	<link>https://ah.thameera.com</link>
	<description>In the dark</description>
	<lastBuildDate>Thu, 06 Sep 2012 05:12:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">56521109</site>	<item>
		<title>Elevating privileges temporarily with setuid permission (Unix)</title>
		<link>https://ah.thameera.com/elevating-privileges-temporarily-with-setuid-permission-unix/</link>
					<comments>https://ah.thameera.com/elevating-privileges-temporarily-with-setuid-permission-unix/#comments</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Thu, 06 Sep 2012 05:12:08 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://noisythameera.wordpress.com/?p=52</guid>

					<description><![CDATA[You may have noticed that apart from the read (r), write (w) and executable (x) permissions in Unix, there&#8217;s an &#8216;s&#8217; permission as well. This is called the setuid permission. If you have access to an setuid-enabled file, then you can execute that file with admin privileges even though you&#8217;re an unprivileged user. So, s means that the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>You may have noticed that apart from the read (r), write (w) and executable (x) permissions in Unix, there&#8217;s an &#8216;s&#8217; permission as well. This is called the <em>setuid </em>permission. If you have access to an setuid-enabled file, then you can execute that file with admin privileges even though you&#8217;re an unprivileged user. So, <em>s</em> means that the file is both executable and has root privileges.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-58" title="setuid" src="http://ah.thameera.com/wp-content/uploads/2012/09/setuid2.jpg" alt="Unix setuid permission" width="436" height="165" /></p>
<p>It&#8217;s possible to add enable setuid permission just as you do with any other permission.</p>
<blockquote><p>chmod u+s filename</p></blockquote>
<p>Be wary though, mistakenly assigned setuid can cause havoc if some stupid user takes advantage of the root privileges.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/elevating-privileges-temporarily-with-setuid-permission-unix/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">52</post-id>	</item>
	</channel>
</rss>
