On 5/17/06, Laurent Lesage <[EMAIL PROTECTED]> wrote:
Well, that's it : I had to "open" a restricted directory of "asterisk"
so tha "nut" is able to write in it. I thought that using the "s" bit on
the script would have given the rights of "root" on the called scripts
and command : I was wrong :-[ .

Is there an easy way to give the rights of  "root" for some scripts
launched by "nut" but not make root execute everything for "nut"?

There is a SUID wrapper for perl, but in general, script interpreters
do not inherit set-userid privileges.

By the way, I think you pointed out a bug in the upssched.c error
reporting system - there is a thread on nut-upsdev about this.

--
- Charles Lepple

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to