<?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>Tony Narlock &#187; permissions</title>
	<atom:link href="http://blog.skiquel.com/tag/permissions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.skiquel.com</link>
	<description>Living life in the cloud</description>
	<lastBuildDate>Sun, 06 Jun 2010 13:38:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Add your user groups to sudoers file</title>
		<link>http://blog.skiquel.com/2010/03/add-your-user-groups-to-sudoers-file/</link>
		<comments>http://blog.skiquel.com/2010/03/add-your-user-groups-to-sudoers-file/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 04:55:10 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Kubuntu]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[sudoers]]></category>
		<category><![CDATA[visudo]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=558</guid>
		<description><![CDATA[sudo allows system administrators to delegate authority to other users on a server. In this post, we will show how user groups can sudo. Sudo (su "do") allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gratisoft.us/sudo/">sudo</a> allows system administrators to delegate authority to other users on a server. In this post, we will show how user groups can sudo.</p>
<blockquote><p>Sudo (su "do") allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments.</p></blockquote>
<p>Some users mistakenly attempt to add themselves to the <code>/etc/sudoers</code> file directly. This doesn't work. Use the command <code>visudo</code>.</p>
<p><code># Members of the admin group may gain root privileges<br />
%admin ALL=(ALL) ALL</code></p>
<p>You can have add a user called penguin to <em>users</em>: <code>useradd -G users penguin</code></p>
<p>Then, you can add <strong>penguin</strong> to the <em>admin</em> admin group. <code>usermod -a -G admin penguin</code></p>
<p>Now penguin can <code>sudo</code>.</p>
<p>You can also give users ability to <code>sudo</code> without a password (for cron-type stuff).</p>
<p>Type <code>visudo</code> in terminal.</p>
<p>Uncomment <code># %sudo ALL=NOPASSWD: ALL</code> by removing the <code>#</code>, or add <code>%sudo ALL=NOPASSWD: ALL</code></p>
<p>Now add <strong>penguin </strong> to <em>sudo</em> group.</p>
<p><code>usermod -a -G sudo penguin</code></p>
<p>For more information on <code>sudo</code>, you can see the manual pages at <code>man sudo</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/add-your-user-groups-to-sudoers-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
