<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sat May 18, 2013 8:43 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sat May 18, 2013 8:43 pm</pubDate>
  <lastBuildDate>Sat May 18, 2013 8:43 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: Stopping the system asking for root password</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=110399#110399</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=16434'&gt;GeordieJedi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Feb 16, 2013 12:20 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Ah-Ha, I see.&lt;br /&gt;
&lt;br /&gt;
So is there any way to stop the system for asking for a root PW in&lt;br /&gt;
these instances too ?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=110399#110399</comments>
                                        <author>GeordieJedi</author>
                                        <pubDate>Sat Feb 16, 2013 12:20 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=110399#110399</guid>
                                      </item>
                                      <item>
                                        <title>Re: Stopping the system asking for root password</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=110375#110375</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=60'&gt;Rhakios&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Feb 13, 2013 6:36 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;GeordieJedi wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Right then.&lt;br /&gt;
&lt;br /&gt;
I've done as you suggested in your previous posts&lt;br /&gt;
(Added those extra lines to the sudoers file)&lt;br /&gt;
&lt;br /&gt;
So far, I can get a root prompt in the terminal without being asked for a PW&lt;br /&gt;
However if I try Gparted or try to download any software, from the &lt;br /&gt;
Ubuntu software centre I then get asked for my PW.&lt;br /&gt;
&lt;br /&gt;
Strange......&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Not necessarily, if you're launching from a menu or icon, a lot of them include gksu or pkexec, or something similar, as part of the command and this will bring up the authorisation dialog.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=110375#110375</comments>
                                        <author>Rhakios</author>
                                        <pubDate>Wed Feb 13, 2013 6:36 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=110375#110375</guid>
                                      </item>
                                      <item>
                                        <title>Re: Stopping the system asking for root password</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=110371#110371</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=16434'&gt;GeordieJedi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Feb 13, 2013 3:14 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Right then.&lt;br /&gt;
&lt;br /&gt;
I've done as you suggested in your previous posts&lt;br /&gt;
(Added those extra lines to the sudoers file)&lt;br /&gt;
&lt;br /&gt;
So far, I can get a root prompt in the terminal without being asked for a PW&lt;br /&gt;
However if I try Gparted or try to download any software, from the &lt;br /&gt;
Ubuntu software centre I then get asked for my PW.&lt;br /&gt;
&lt;br /&gt;
Strange......</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=110371#110371</comments>
                                        <author>GeordieJedi</author>
                                        <pubDate>Wed Feb 13, 2013 3:14 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=110371#110371</guid>
                                      </item>
                                      <item>
                                        <title>Re: Stopping the system asking for root password</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=110360#110360</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=2793'&gt;MartyBartfast&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Feb 11, 2013 9:13 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      So in your original post you added sudo rights to members of  the admin group, however you are not in the admin group, however you are in the adm and sudo groups, so I would suggest that you use visudo to change &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
%admin ALL=&amp;#40;ALL&amp;#41; NOPASSWD&amp;#58; ALL &lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
%adm ALL=&amp;#40;ALL&amp;#41; NOPASSWD&amp;#58; ALL &lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
or  add this&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
# Allow members of group sudo to execute any command&lt;br /&gt;
%sudo&amp;nbsp; &amp;nbsp;ALL=&amp;#40;ALL&amp;#58;ALL&amp;#41; ALL&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
(just edited this having read Xenopeek's reply).</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=110360#110360</comments>
                                        <author>MartyBartfast</author>
                                        <pubDate>Mon Feb 11, 2013 9:13 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=110360#110360</guid>
                                      </item>
                                      <item>
                                        <title>Re: Stopping the system asking for root password</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=110357#110357</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=16434'&gt;GeordieJedi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Feb 11, 2013 6:57 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi there.&lt;br /&gt;
&lt;br /&gt;
Right here are the results of the questions that you asked -&lt;br /&gt;
&lt;br /&gt;
Command = &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;id&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Answer =&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;uid=1000&amp;#40;myname&amp;#41;&lt;br /&gt;
gid=1000&amp;#40;myname&amp;#41;&lt;br /&gt;
groups=1000&amp;#40;myname&amp;#41;&lt;br /&gt;
4&amp;#40;adm&amp;#41;, 24&amp;#40;cdrom&amp;#41;, 27&amp;#40;sudo&amp;#41;, 30&amp;#40;dip&amp;#41;, 46&amp;#40;plugdev&amp;#41;, &lt;br /&gt;
109&amp;#40;lpadmin&amp;#41;,124&amp;#40;sambashare&amp;#41;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Command = &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;groups&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Answer =&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;#40;myname&amp;#41; adm cdrom sudo dip plugdev lpadmin sambashare&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for the help so-far Martyartfast and Xenopeek</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=110357#110357</comments>
                                        <author>GeordieJedi</author>
                                        <pubDate>Mon Feb 11, 2013 6:57 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=110357#110357</guid>
                                      </item>
                                      <item>
                                        <title>Re: Stopping the system asking for root password</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=110353#110353</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=68638'&gt;xenopeek&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Feb 11, 2013 5:31 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      You could take a hint from the sudoers file in the live session. I don't have Ubuntu 12.04, but the Linux Mint 13 based on that. Probably very similar. Here are the relevant bits:&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;# User privilege specification&lt;br /&gt;
root&amp;nbsp; &amp;nbsp; ALL=&amp;#40;ALL&amp;#58;ALL&amp;#41; ALL&lt;br /&gt;
&lt;br /&gt;
# Members of the admin group may gain root privileges&lt;br /&gt;
%admin ALL=&amp;#40;ALL&amp;#41; ALL&lt;br /&gt;
&lt;br /&gt;
# Allow members of group sudo to execute any command&lt;br /&gt;
%sudo&amp;nbsp; &amp;nbsp;ALL=&amp;#40;ALL&amp;#58;ALL&amp;#41; ALL&lt;br /&gt;
&lt;br /&gt;
# See sudoers&amp;#40;5&amp;#41; for more information on &amp;quot;#include&amp;quot; directives&amp;#58;&lt;br /&gt;
&lt;br /&gt;
#includedir /etc/sudoers.d&lt;br /&gt;
mint&amp;nbsp; ALL=&amp;#40;ALL&amp;#41; NOPASSWD&amp;#58; ALL&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
So what you want is to see the %sudo line be as above, make sure you are a member of sudo group (type &amp;quot;groups&amp;quot; in terminal to confirm) and add that last line with sudo visudo, replacing mint with your username.&lt;br /&gt;
&lt;br /&gt;
Unless there is some further hidden configuration, that should work, right?&lt;br /&gt;
&lt;br /&gt;
Good luck with getting RSI under control; and don't let it get worse...</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=110353#110353</comments>
                                        <author>xenopeek</author>
                                        <pubDate>Mon Feb 11, 2013 5:31 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=110353#110353</guid>
                                      </item>
                                      <item>
                                        <title>Re: Stopping the system asking for root password</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=110352#110352</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=2793'&gt;MartyBartfast&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Feb 11, 2013 3:58 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Are you in the admin group?&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
$ id&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
will show which groups you're in &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
$ sudo&amp;nbsp; usermod -aG admin GeordiJedi&lt;br /&gt;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
should add you to it if not.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=110352#110352</comments>
                                        <author>MartyBartfast</author>
                                        <pubDate>Mon Feb 11, 2013 3:58 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=110352#110352</guid>
                                      </item>
                                      <item>
                                        <title>Stopping the system asking for root password</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=110351#110351</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=16434'&gt;GeordieJedi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Feb 11, 2013 3:06 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi all.&lt;br /&gt;
&lt;br /&gt;
OK, I'd like to stop my system from asking for the root password whenever I try&lt;br /&gt;
to run apps or elevate privaliges.&lt;br /&gt;
(I realise that this is normal and how things &amp;quot;should&amp;quot; be done,&lt;br /&gt;
 however I've got really bad RSI and every little bit helps).&lt;br /&gt;
&lt;br /&gt;
I also understand the security implications this involves too.&lt;br /&gt;
&lt;br /&gt;
I've asked something similar previously =&lt;br /&gt;
&lt;a href=&quot;http://www.linuxformat.com/forums/viewtopic.php?t=13581&amp;amp;highlight=&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
And was asked to edit the sudoers file using visudo and alter&lt;br /&gt;
the line in question to =&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;%admin ALL=&amp;#40;ALL&amp;#41; NOPASSWD&amp;#58; ALL &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
However even though I've done this&lt;br /&gt;
(And I'm pretty sure it was done properly - I went in and checked the&lt;br /&gt;
file running Gedit as root. However I only viewed the file I didn't edit it using Gedit).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the moment I still get the request come up if I do any of the following - &lt;br /&gt;
I run Gparted.&lt;br /&gt;
I run a terminal session (and then ask for a root session).&lt;br /&gt;
I run GUFW.&lt;br /&gt;
Run Ubuntu software centre.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Is there anything I've done incorrectly, or anything else that I need to do ?&lt;br /&gt;
&lt;br /&gt;
Useful information  =&lt;br /&gt;
&lt;br /&gt;
OS = Ubuntu 12.04&lt;br /&gt;
DE = KDE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TIA for any help or advice.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=110351#110351</comments>
                                        <author>GeordieJedi</author>
                                        <pubDate>Mon Feb 11, 2013 3:06 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=110351#110351</guid>
                                      </item></channel></rss>