<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Allowing Limited Sudo Access With Visudo</title>
	<atom:link href="http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:29:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Christer Edwards</title>
		<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/#comment-11785</link>
		<dc:creator>Christer Edwards</dc:creator>
		<pubDate>Sat, 31 Jul 2010 12:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=291#comment-11785</guid>
		<description>@Adiseno - I&#039;ll repeat TuxGirl&#039;s remark that it is *never* a good idea to give access to an editor, and not just for the sake of being able to access or edit the sudoers file.

Give yourself sudo access to vim, and within vim run: &#039;:!bash&#039;. You&#039;ve just rooted the box.</description>
		<content:encoded><![CDATA[<p>@Adiseno &#8211; I&#8217;ll repeat TuxGirl&#8217;s remark that it is *never* a good idea to give access to an editor, and not just for the sake of being able to access or edit the sudoers file.</p>
<p>Give yourself sudo access to vim, and within vim run: &#8216;:!bash&#8217;. You&#8217;ve just rooted the box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adiseno</title>
		<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/#comment-11774</link>
		<dc:creator>Adiseno</dc:creator>
		<pubDate>Fri, 30 Jul 2010 13:20:44 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=291#comment-11774</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-1169&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-1169&quot; rel=&quot;nofollow&quot;&gt; TuxGirl &lt;/a&gt; :&lt;/strong&gt;One recommendation I have is to make sure you prevent others from having sudo rights to: * editors * shells * anything that can open  or act as an editor or shell Why?  Very simple.  If they can “sudo bash”, they now have full root access.  If they can “sudo vim /etc/sudoers”, they’ve got full root access. Just some interesting holes that I think a lot of us forget about.  I know I don’t always think of this type of little detail. ~TuxGirl&lt;/blockquote&gt;

it&#039;s simple

it&#039;s ok to give user permission using vim, for example you simply add like this

mike ALL=(root) /usr/bin/aptitude, /usr/bin/apt-get, /bin/vim, !/bin/vim /etc/sudoers

and now user mike can use vim to edit all of file, except /etc/sudoers

i hope that can help you..</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-1169"><p>
<strong><a href="#comment-1169" rel="nofollow"> TuxGirl </a> :</strong>One recommendation I have is to make sure you prevent others from having sudo rights to: * editors * shells * anything that can open  or act as an editor or shell Why?  Very simple.  If they can “sudo bash”, they now have full root access.  If they can “sudo vim /etc/sudoers”, they’ve got full root access. Just some interesting holes that I think a lot of us forget about.  I know I don’t always think of this type of little detail. ~TuxGirl</p></blockquote>
<p>it&#8217;s simple</p>
<p>it&#8217;s ok to give user permission using vim, for example you simply add like this</p>
<p>mike ALL=(root) /usr/bin/aptitude, /usr/bin/apt-get, /bin/vim, !/bin/vim /etc/sudoers</p>
<p>and now user mike can use vim to edit all of file, except /etc/sudoers</p>
<p>i hope that can help you..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Live</title>
		<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/#comment-11069</link>
		<dc:creator>Live</dc:creator>
		<pubDate>Fri, 28 May 2010 02:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=291#comment-11069</guid>
		<description>Now, I have a question, what if I want the OPPOSITE?

For example, if I have another user in my Ubuntu. They can type: VirtualBox in the command line and they can run the VirtualBox program.

What will I do so that they can&#039;t run it?

Thanks.</description>
		<content:encoded><![CDATA[<p>Now, I have a question, what if I want the OPPOSITE?</p>
<p>For example, if I have another user in my Ubuntu. They can type: VirtualBox in the command line and they can run the VirtualBox program.</p>
<p>What will I do so that they can&#8217;t run it?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jenicun</title>
		<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/#comment-5998</link>
		<dc:creator>jenicun</dc:creator>
		<pubDate>Mon, 27 Oct 2008 09:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=291#comment-5998</guid>
		<description>guyz, I have some problems. After i edit the configuration files using sudo visudo (I changed the root user so it dont have password), i cant login anymore. btw, im using putty to login. Can someone help ? thanks</description>
		<content:encoded><![CDATA[<p>guyz, I have some problems. After i edit the configuration files using sudo visudo (I changed the root user so it dont have password), i cant login anymore. btw, im using putty to login. Can someone help ? thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christer Edwards</title>
		<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/#comment-3624</link>
		<dc:creator>Christer Edwards</dc:creator>
		<pubDate>Thu, 31 Jan 2008 04:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=291#comment-3624</guid>
		<description>@Cliff - by default the first user created is is given sudo privileges.  If you are not that user you&#039;ll need to login as that user or reboot into recovery mode and add yourself to the file manually.</description>
		<content:encoded><![CDATA[<p>@Cliff &#8211; by default the first user created is is given sudo privileges.  If you are not that user you&#8217;ll need to login as that user or reboot into recovery mode and add yourself to the file manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliff Riddlebarger</title>
		<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/#comment-3623</link>
		<dc:creator>Cliff Riddlebarger</dc:creator>
		<pubDate>Thu, 31 Jan 2008 03:24:51 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=291#comment-3623</guid>
		<description>My sudo command does not work. It says my user
Name is not in the sudoers file, but, visudo
won&#039;t let me edit sudoers. Like above I can&#039;t sudo visudo. I&#039;m stuck in this loop. Is there a way out?
TIA,
cliff</description>
		<content:encoded><![CDATA[<p>My sudo command does not work. It says my user<br />
Name is not in the sudoers file, but, visudo<br />
won&#8217;t let me edit sudoers. Like above I can&#8217;t sudo visudo. I&#8217;m stuck in this loop. Is there a way out?<br />
TIA,<br />
cliff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrisolsen.org &#187; Blog Archive &#187; Rails setup on Linode</title>
		<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/#comment-1170</link>
		<dc:creator>chrisolsen.org &#187; Blog Archive &#187; Rails setup on Linode</dc:creator>
		<pubDate>Fri, 14 Sep 2007 00:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=291#comment-1170</guid>
		<description>[...] Add the following line just under where root is granted all permissions. More information on this can be found here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Add the following line just under where root is granted all permissions. More information on this can be found here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TuxGirl</title>
		<link>http://ubuntu-tutorials.com/2007/03/01/allowing-limited-sudo-access-with-visudo/#comment-1169</link>
		<dc:creator>TuxGirl</dc:creator>
		<pubDate>Fri, 02 Mar 2007 05:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=291#comment-1169</guid>
		<description>One recommendation I have is to make sure you prevent others from having sudo rights to:
* editors
* shells
* anything that can open  or act as an editor or shell
Why?  Very simple.  If they can &quot;sudo bash&quot;, they now have full root access.  If they can &quot;sudo vim /etc/sudoers&quot;, they&#039;ve got full root access.
Just some interesting holes that I think a lot of us forget about.  I know I don&#039;t always think of this type of little detail.
~TuxGirl</description>
		<content:encoded><![CDATA[<p>One recommendation I have is to make sure you prevent others from having sudo rights to:<br />
* editors<br />
* shells<br />
* anything that can open  or act as an editor or shell<br />
Why?  Very simple.  If they can &#8220;sudo bash&#8221;, they now have full root access.  If they can &#8220;sudo vim /etc/sudoers&#8221;, they&#8217;ve got full root access.<br />
Just some interesting holes that I think a lot of us forget about.  I know I don&#8217;t always think of this type of little detail.<br />
~TuxGirl</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 2/6 queries in 0.003 seconds using disk: basic
Object Caching 287/288 objects using disk: basic

Served from: ubuntu-tutorials.com @ 2012-02-09 20:09:32 -->
