Hi,
I have put in the /etc/sudoers file the following line:
sadhu ALL=(root) NOPASSWD:/usr/bin/yumex
I was expecting that when logged in as user "sadhu" I will be rum yumex without authentication, but it still asks for root authentication when I try to run yumex.
Can you please refer me to the correct sudoers syntax or to a how-to.
Thanks and regards.
sadhu
Quoting Nachiketa Sadhu ??????? ???? sadhu@iitb.ac.in:
Hi,
I have put in the /etc/sudoers file the following line:
sadhu ALL=(root) NOPASSWD:/usr/bin/yumex
sadhu ALL = NOPASSWD: /usr/bin/yumex
that works?
I was expecting that when logged in as user "sadhu" I will be rum yumex without authentication, but it still asks for root authentication when I try to run yumex.
Can you please refer me to the correct sudoers syntax or to a how-to.
manpage of sudoers file.
Anurag
Anurag wrote:
Quoting Nachiketa Sadhu ??????? ???? sadhu@iitb.ac.in:
Hi,
I have put in the /etc/sudoers file the following line:
sadhu ALL=(root) NOPASSWD:/usr/bin/yumex
sadhu ALL = NOPASSWD: /usr/bin/yumex
that works?
Unfortunately no. It does not make any difference.
I was expecting that when logged in as user "sadhu" I will be rum yumex without authentication, but it still asks for root authentication when I try to run yumex.
Can you please refer me to the correct sudoers syntax or to a how-to.
manpage of sudoers file.
I have gone through these, and some how-tos from Google search. I will go through these again to see if I can gain any further information.
Thanks and regards.
sadhu
On Monday 20 Aug 2007 21:39:05 Nachiketa Sadhu wrote:
Anurag wrote:
Quoting Nachiketa Sadhu ??????? ???? sadhu@iitb.ac.in:
Hi,
I have put in the /etc/sudoers file the following line:
sadhu ALL=(root) NOPASSWD:/usr/bin/yumex
sadhu ALL = NOPASSWD: /usr/bin/yumex
that works?
Unfortunately no. It does not make any difference.
Really stupid question, but I'm following Sherlock Holmes here. `When you've eliminated the impossible, whatever remains; however improbable, must be the truth'..
So, did you actually run `sudo yumex' or just yumex?
Mrugesh Karnik wrote:
I have put in the /etc/sudoers file the following line:
sadhu ALL=(root) NOPASSWD:/usr/bin/yumex
Really stupid question, but I'm following Sherlock Holmes here. `When you've eliminated the impossible, whatever remains; however improbable, must be the truth'..
So, did you actually run `sudo yumex' or just yumex?
Thanks,
I did not consider that I will have to run "sudo yumex" I was expecting this to work from the menu command.
I am sorry to have bothered the list on such a silly misunderstanding on my part. "sudo yumex" works as expected.
Thanks and regards.
sadhu
Quoting Nachiketa Sadhu ??????? ???? sadhu@iitb.ac.in:
I did not consider that I will have to run "sudo yumex" I was expecting this to work from the menu command.
You might want to verify if the menu was running "gksu yumex", in which case it can be changed to "gksudo yumex" and it will work as you expected.
Anurag