<?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>Jay Paroline - Grooveshark Dev &#187; linux</title>
	<atom:link href="http://wanderr.com/jay/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://wanderr.com/jay</link>
	<description>Rantings of a Grooveshark Developer</description>
	<lastBuildDate>Tue, 22 May 2012 05:19:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Linux: run script as a different user</title>
		<link>http://wanderr.com/jay/linux-run-script-as-a-different-user/2008/05/22/</link>
		<comments>http://wanderr.com/jay/linux-run-script-as-a-different-user/2008/05/22/#comments</comments>
		<pubDate>Thu, 22 May 2008 06:32:47 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://wanderr.com/jay/?p=75</guid>
		<description><![CDATA[In all the years I&#8217;ve been using Linux just enough to get by, I&#8217;ve never stumbled across this handy tip. If you have a script that, say, needs root access, but must be executable by users who do not have root access, rather than setting up sudo and then making everyone have to remember to [...]]]></description>
			<content:encoded><![CDATA[<p>In all the years I&#8217;ve been using Linux just enough to get by, I&#8217;ve never stumbled across this handy tip. If you have a script that, say, needs root access, but must be executable by users who do not have root access, rather than setting up sudo and then making everyone have to remember to type sudo before they type the path to the script, you can do this:</p>
<p>chmod +s filename</p>
<p>The script will run as the owner, and the permissions for executing the script will be determined by group membership. If you have a script that must be executable by users in the &#8216;devs&#8217; group, but it must run as root, all you have to do is:<br />
chown root.devs filename<br />
chmod +s filename<br />
(assuming your file is already group executable)</p>
<p>Obviously this file should not be group writable or you&#8217;re giving everyone in that group the power to run anything as root, simply by modifying the script and then running it.</p>
]]></content:encoded>
			<wfw:commentRss>http://wanderr.com/jay/linux-run-script-as-a-different-user/2008/05/22/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)

Served from: wanderr.com @ 2012-05-22 02:37:29 -->
