[ale] Sudo use in script
Gary MacKay
Gary at EdisonInfo.com
Fri Oct 19 09:17:16 EDT 2001
Thanks! I searched 'man sudo' but didn't realize there was a 'man
sudoers'. I should be able to figure it out from here!!
Thanks again,
Gary
hirsch at zapmedia.com wrote:
>
> Gary MacKay writes:
> > I presume it goes against all security measures, but I'll ask anyway. I
> > need a way for a script that runs as a user to be able to issue a "kill
> > -HUP xxx' command. I've entered the user's name in the /etc/sudoers
> > file, but that has a time limit thing. Is there any way to do this?
>
> What do you mean by the "time limit thing"? You can setup sudo to
> allow a user to run a particular command as a particular user without
> a password.
>
> I have to admit that the /etc/sudoers file often confuses me, so I'm
> not going to give an example. But in principle it is all documenter.
> Just "man sudoers". Look for NOPASSWD.
>
> --Michael
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list