<div dir="ltr">ALL just gives you the ability to run sudo on all binaries. If you don't want to give your password every time you use sudo then you need to use the NOPASSWD option.<div><br></div><div>ie: exampleuser ALL=NOPASSWD: ALL</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 9, 2014 at 3:42 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I just tried saving it as sudoers rather than as the .tmp file but still it requires a password. Please tell me what I am doing wrong?<div>
Here is the file <user is ***></div><div><br></div><div><div># Cmnd alias specification</div>
<div><br></div><div># User privilege specification</div><div>root ALL=(ALL:ALL) ALL</div><div>*** ALL=(ALL:ALL) ALL</div><div><br></div><div># Members of the admin group may gain root privileges</div><div>admin ALL=(ALL) ALL</div>
<div>*** ALL=(ALL:ALL) ALL</div><div><br></div><div># Allow members of group sudo to execute any command</div><div>sudo ALL=(ALL:ALL) ALL</div><div>*** ALL=(ALL:ALL) ALL</div><div><br></div></div></div><div class="gmail_extra">
<br clear="all"><div>:-)~MIKE~(-:</div><div><div class="h5">
<br><br><div class="gmail_quote">On Mon, Jun 9, 2014 at 2:23 PM, James Mcphee <span dir="ltr"><<a href="mailto:jmcphe@gmail.com" target="_blank">jmcphe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">sudoers.tmp is the lock file visudo uses to make sure there aren't multiple edits going on at the same time.</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Mon, Jun 9, 2014 at 1:53 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">I am trying to add my user to 'sudoers'. After I do I press cntrl-X and it says the file it is going to save is 'sudoers.tmp' . So I save it like that and my user still requires a password. should I not save it as the .tmp file but rather as 'sudoers'. I don't remember it being like that last time I did this!<br clear="all">
<div>:-)~MIKE~(-:</div>
</div>
<br></div>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><span><font color="#888888"><br></font></span></blockquote></div>
<span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>James McPhee<br>
<a href="mailto:jmcphe@gmail.com" target="_blank">jmcphe@gmail.com</a>
</font></span></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div></div></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div>