<?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>The Zoltan Blog &#187; visudo sudo sudoers</title>
	<atom:link href="http://www.zoltanfagyal.com/blog/tag/visudo-sudo-sudoers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zoltanfagyal.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 24 Nov 2010 20:38:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Edit Sudoers File &#8211; visudo</title>
		<link>http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/</link>
		<comments>http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/#comments</comments>
		<pubDate>Tue, 06 May 2008 02:52:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[visudo sudo sudoers]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/</guid>
		<description><![CDATA[1) Open the sudoers file safely:
visudo command edits the sudoers file in a safe fashion.
Attention: you can only run visudo as root
This is a vi editor. Here are some basic vi commands:
	To enter vi insert mode: i
	To enter vi command mode: [esc]
	To exit vi and save changes: ZZ   or  :wq
	To exit vi [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1) Open the sudoers file safely:</strong><br />
visudo command edits the sudoers file in a safe fashion.<br />
<strong>Attention: you can only run visudo as root</strong></p>
<p>This is a <a href="http://en.wikipedia.org/wiki/Vi">vi editor</a>. Here are some <a href="http://www.cs.rit.edu/~cslab/vi.html">basic vi commands:</a></p>
<p>	To enter vi insert mode: i<br />
	To enter vi command mode: [esc]<br />
	To exit vi and save changes: ZZ   or  :wq<br />
	To exit vi without saving changes: :q!</p>
<p><strong>2) Update the sudoers file</strong><br />
Update the part where you see:<br />
<code>## Allow root to run any commands anywhere<br />
root    ALL=(ALL)       ALL</code></p>
<p>Add the desired user name and ALL=(ALL)       ALL. For example:<br />
user1    ALL=(ALL)       ALL</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2008/05/05/edit-sudoers-file-visudo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

