[Nut-upsuser] upssched does not start the script when timer triggers SOLVED

Charles Lepple clepple at gmail.com
Wed May 17 16:52:16 UTC 2006

On 5/17/06, Laurent Lesage <laurent at lesagepono.be> 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

More information about the Nut-upsuser mailing list