<?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>Everything technical &#187; SysAdmin</title>
	<atom:link href="http://www.lbotti.net/blog/tag/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lbotti.net/blog</link>
	<description>Linux, Java, Python...just techie blogging</description>
	<lastBuildDate>Fri, 08 Oct 2010 22:46:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>About Sudo and Fedora</title>
		<link>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 07:35:59 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux Hacking]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=102</guid>
		<description><![CDATA[Whenever you read entries about Fedora administration, the common recommendation is to use sudo instead of the root account. But if you try sudo at the command line, you are met with some error regarding sudo configuration: Fedora does not sudo-enable your account to during system installation, so you are stuck. What to do is [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever you read entries about Fedora administration, the common recommendation is to use sudo instead of the root account.</p>
<p>But if you try sudo at the command line, you are met with some error regarding sudo configuration: Fedora does not sudo-enable  your account to during system installation, so you are stuck.</p>
<p>What to do is simple:<br />
<pre><code>su -
(insert your root password)
visudo &lt;em&gt; (as per kagesenshi comment #1)&lt;/em&gt;
</code></pre><br />
Find a line which says:<br />
<pre><code>
root&nbsp;&nbsp;&nbsp;&nbsp;ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALL
</code></pre><br />
and add<br />
<pre><code>
$username ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp; ALL
</code></pre><br />
where <strong>$username</strong> is the user you log in. That&#8217;s all. Ubuntu default behaviour on Fedora.<br />
A variant of this is adding a NOPASSWD tag to avoid requesting for a password every time, though I DO NOT RECOMMEND doing that (gives you time to think about what you are doing); the line becomes:<br />
<pre><code>
$username ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOPASSWD: ALL
</code></pre></p>
<p>EDIT &#8211; Brian correctly suggests to uncomment the wheel group in /etc/sudoers and add the users to said group; while correct from a sysadmin point of view, I believe we should keep it simple for users that use Fedora &#8220;on the Desktop&#8221;. I strongly believe Using Fedora and Administering Fedora should be kept as separate activities as possible. Anyway, for more technically oriented users, you can find this way at the <a title='Original Link: http://fedorasolved.org/post-install-solutions/sudo'  href="http://www.lbotti.net/blog/?U0M39roS" target="_blank">fedorasolved.org</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

