[Eug-lug] Configuring sudo to allow one command without a password
Martin Kelly
aomighty at gmail.com
Sat Jul 15 18:27:15 PDT 2006
Okay, so I just write a new line then... I was trying to figure out how
to incorporate it into the already written line, which was troublesome.
Thanks.
What is the "ALL = " part for? Doesn't that say that it is for all commands?
Bob Miller wrote:
> 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
>
More information about the EUGLUG
mailing list