[prev in list] [next in list] [prev in thread] [next in thread]
List: suse-programming-e
Subject: Re: [opensuse-programming] non-privileged daemon executing root-only commands?
From: Per Jessen <per () computer ! org>
Date: 2010-06-16 6:34:06
Message-ID: hv9r8u$gpi$1 () saturn ! local ! net
[Download RAW message or body]
David Haller wrote:
> Hello,
>
> On Tue, 15 Jun 2010, Per Jessen wrote:
>>I have a monitoring daemon that I would really prefer to run as
>>non-root, but occasionally it will have to execute 'ipvsadm', which is
>>root-only. I'm thinking this could be done with sudoers?
>
> your_daemon_user localhost=(root) NOPASSWD:/sbin/ipvsadm -opt arg
>
Thanks, David - that looks good.
/Per Jessen, Zürich
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-programming+help@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic