<br>    I have a similar (working) configuration:<br><br>claudio ALL=(ALL) NOPASSWD:ALL<br><br><div><span class="gmail_quote">On 7/11/06, <b class="gmail_sendername">Craig Vine</b> <<a href="mailto:craig@webafrica.co.za">
craig@webafrica.co.za</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Donatas G. wrote:<br>> anyone has any ideas on this?
<br>><br>> Donatas<br>><br>> Donatas G. wrote:<br>><br>>> I am in admin group on my computer, so i have full sudo rights, but I would<br>>> like to not be asked for a password when executing some commands.
<br>>><br>>> I added a user group line and a command group line to the default /etc/sudoers<br>>> file, but I am still asked for a password...<br>>><br>>> What is it that I am doing wrong? see my sudoers file below. My user is "dg".
<br>>><br>>> =========================<br>>> # User alias specification<br>>><br>>> User_Alias     LIMITED = dg, sim<br>>><br>>> # Cmnd alias specification<br>>> Cmnd_Alias     ELEMENTARY = /usr/bin/pon, /usr/bin/poff, \
<br>>>                             /sbin/halt, /sbin/reboot<br>>><br>>> # Defaults<br>>><br>>> Defaults        !lecture,tty_tickets,!fqdn<br>>><br>>> # User privilege specification
<br>>> root    ALL=(ALL) ALL<br>>><br>>> LIMITED     ALL = NOPASSWD: ELEMENTARY<br>>><br>>> # Members of the admin group may gain root privileges<br>>> %admin ALL=(ALL) ALL<br>>> =========================
<br>>><br>>><br>><br>><br>><br>I have this in our Wiki :<br><br><br>    Password Free Sudo<br><br><br>1. Edit /etc/sudoers as root (run: kdesu kate /etc/sudoers)<br>2. Add the following on a new line "username ALL=NOPASSWD: ALL" (replace
<br>username with your login name)<br>3. Click Save and exit kate. All sudo commands will now run without<br>asking for your password.<br>*WARNING!!! While this does make life easier. it can also be potentially<br>dangerous, any malicious code or script could gain root access and cause
<br>serious kak. USE AT OWN RISK!!!* (<br><br>I havn't tested it tho..<br><br></blockquote></div><br clear="all"><br>-- <br>Claudio Miranda