Martin Kelly wrote:

> Anyway, my current sudoers line for sudo is like this:
> 
> martin   ALL=(ALL) ALL
> 
> So that I can use sudo with the root password. I'd like it to stay the 
> same except to allow the above command without a password.

Try this.

        martin  ALL = (ALL) ALL
        martin  All = NOPASSWD: /etc/init.d/networking restart

-- 
Bob Miller                              K<bob>
                                        [EMAIL PROTECTED]
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to