[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Sudo use in script
- Subject: [ale] Sudo use in script
- From: hirsch at zapmedia.com (hirsch at zapmedia.com)
- Date: Fri, 19 Oct 2001 09:04:09 -0400
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.