<?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: How to add users to /etc/sudoers</title> <atom:link href="http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 22:58:45 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Give Yourself The Proper Linux Privileges on Your New Machine</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-1347315</link> <dc:creator>Give Yourself The Proper Linux Privileges on Your New Machine</dc:creator> <pubDate>Wed, 15 Jun 2011 06:51:26 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-1347315</guid> <description>[...] procedure, it is one that is easily forgotten. Once you have given yourself sudo privileges you can give them to other Linux users as well, whether you have multiple profiles set up for other users on your [...]</description> <content:encoded><![CDATA[<p>[...] procedure, it is one that is easily forgotten. Once you have given yourself sudo privileges you can give them to other Linux users as well, whether you have multiple profiles set up for other users on your [...]</p> ]]></content:encoded> </item> <item><title>By: Linux Shell Scripting Tutorial &#8211; A Beginner&#8217;s handbook - Amit Agarwal</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-955271</link> <dc:creator>Linux Shell Scripting Tutorial &#8211; A Beginner&#8217;s handbook - Amit Agarwal</dc:creator> <pubDate>Wed, 13 Jan 2010 16:36:41 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-955271</guid> <description>[...] How to add users to /etc/sudoers (ghacks.net) [...]</description> <content:encoded><![CDATA[<p>[...] How to add users to /etc/sudoers (ghacks.net) [...]</p> ]]></content:encoded> </item> <item><title>By: Links 6/1/2010: More Nexus Thoughts &#124; Boycott Novell</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-953192</link> <dc:creator>Links 6/1/2010: More Nexus Thoughts &#124; Boycott Novell</dc:creator> <pubDate>Fri, 08 Jan 2010 21:47:43 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-953192</guid> <description>[...] How to add users to /etc/sudoers [...]</description> <content:encoded><![CDATA[<p>[...] How to add users to /etc/sudoers [...]</p> ]]></content:encoded> </item> <item><title>By: Jason B</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-952886</link> <dc:creator>Jason B</dc:creator> <pubDate>Thu, 07 Jan 2010 23:05:18 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-952886</guid> <description>A very useful feature is to allow specific programs to be run through sudo without being prompted for a password.
On my home machine I have a small script that runs aptitude and, generally being too lazy to enter a password, I have authorized myself as follows:
jason ALL=NOPASSWD: /usr/bin/aptitude
Make sure you use &#039;whereis&#039;, or equivalent, to get the correct path.</description> <content:encoded><![CDATA[<p>A very useful feature is to allow specific programs to be run through sudo without being prompted for a password.</p><p>On my home machine I have a small script that runs aptitude and, generally being too lazy to enter a password, I have authorized myself as follows:</p><p>jason ALL=NOPASSWD: /usr/bin/aptitude</p><p>Make sure you use &#8216;whereis&#8217;, or equivalent, to get the correct path.</p> ]]></content:encoded> </item> <item><title>By: jh</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-952819</link> <dc:creator>jh</dc:creator> <pubDate>Thu, 07 Jan 2010 18:10:55 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-952819</guid> <description>&quot;1. It will do syntax checking and refuse to save a broken sudoers file.&quot;
are you sure, txttechdog?
# visudo
&gt;&gt;&gt; sudoers file: syntax error, line 26 &lt;&lt;&lt;
What now? h
Options are:
(e)dit sudoers file again
e(x)it without saving changes to sudoers file
(Q)uit and save changes to sudoers file (DANGER!)
What now? Q</description> <content:encoded><![CDATA[<p>&#8220;1. It will do syntax checking and refuse to save a broken sudoers file.&#8221;</p><p>are you sure, txttechdog?</p><p># visudo<br
/> &gt;&gt;&gt; sudoers file: syntax error, line 26 &lt;&lt;&lt;<br
/> What now? h<br
/> Options are:<br
/> (e)dit sudoers file again<br
/> e(x)it without saving changes to sudoers file<br
/> (Q)uit and save changes to sudoers file (DANGER!)</p><p>What now? Q</p> ]]></content:encoded> </item> <item><title>By: txtechdog</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-952815</link> <dc:creator>txtechdog</dc:creator> <pubDate>Thu, 07 Jan 2010 17:54:25 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-952815</guid> <description>There is an error in your article.  You state that you cannot just open the /etc/sudoers file in a text editor and make changes.  This is not true.  While using visudo is strongly recommended, it is not required.  The advantages to using visudo over some other text editor are:
1.  It will do syntax checking and refuse to save a broken sudoers file.
2.  It does file locking so that only one person at a time can use visudo to edit the file.
The problem with the file locking is that it doesn&#039;t prevent someone from just opening the file in some other editor and changing it while visudo is running.
You can even write custom Perl or other scripts that do modifications to /etc/sudoers for you when you create new user accounts.</description> <content:encoded><![CDATA[<p>There is an error in your article.  You state that you cannot just open the /etc/sudoers file in a text editor and make changes.  This is not true.  While using visudo is strongly recommended, it is not required.  The advantages to using visudo over some other text editor are:</p><p>1.  It will do syntax checking and refuse to save a broken sudoers file.<br
/> 2.  It does file locking so that only one person at a time can use visudo to edit the file.</p><p>The problem with the file locking is that it doesn&#8217;t prevent someone from just opening the file in some other editor and changing it while visudo is running.</p><p>You can even write custom Perl or other scripts that do modifications to /etc/sudoers for you when you create new user accounts.</p> ]]></content:encoded> </item> <item><title>By: jh</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-952813</link> <dc:creator>jh</dc:creator> <pubDate>Thu, 07 Jan 2010 17:27:39 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-952813</guid> <description>visudo also protects against configuration errors by the visudoer :
# visudo
&gt;&gt;&gt; sudoers file: syntax error, line 26 &lt;&lt;&lt;
What now? e
..</description> <content:encoded><![CDATA[<p>visudo also protects against configuration errors by the visudoer :</p><p># visudo<br
/> &gt;&gt;&gt; sudoers file: syntax error, line 26 &lt;&lt;&lt;<br
/> What now? e</p><p>..</p> ]]></content:encoded> </item> <item><title>By: Jordi</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-952701</link> <dc:creator>Jordi</dc:creator> <pubDate>Thu, 07 Jan 2010 08:58:13 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-952701</guid> <description>heh,  I also like Phil Collins ;-)
Thanks for this great and funny article!</description> <content:encoded><![CDATA[<p>heh,  I also like Phil Collins ;-)</p><p>Thanks for this great and funny article!</p> ]]></content:encoded> </item> <item><title>By: ph</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-952688</link> <dc:creator>ph</dc:creator> <pubDate>Thu, 07 Jan 2010 08:15:19 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-952688</guid> <description>Note that the GUI-tool mentioned is not a front-end for sudo management. It only handles memberships in OS-groups (/etc/group) and relies on sudo being already prepared with the following line in /etc/sudoers
%admin  ALL=(ALL) ALL</description> <content:encoded><![CDATA[<p>Note that the GUI-tool mentioned is not a front-end for sudo management. It only handles memberships in OS-groups (/etc/group) and relies on sudo being already prepared with the following line in /etc/sudoers</p><p>%admin  ALL=(ALL) ALL</p> ]]></content:encoded> </item> <item><title>By: Linux: Benutzerberechtigungen in der /etc/sudoers festlegen &#124; SchönSchriften</title><link>http://www.ghacks.net/2010/01/06/how-to-add-users-to-etcsudoers/comment-page-1/#comment-952484</link> <dc:creator>Linux: Benutzerberechtigungen in der /etc/sudoers festlegen &#124; SchönSchriften</dc:creator> <pubDate>Wed, 06 Jan 2010 19:01:48 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=22070#comment-952484</guid> <description>[...] hat vor einigen Tagen in einem kurzen Post beschrieben, wie unter Linux auf einfache Weise Benutzerberechtigungen in der /etc/sudoers bearbeitet werden [...]</description> <content:encoded><![CDATA[<p>[...] hat vor einigen Tagen in einem kurzen Post beschrieben, wie unter Linux auf einfache Weise Benutzerberechtigungen in der /etc/sudoers bearbeitet werden [...]</p> ]]></content:encoded> </item> </channel> </rss>
