hi list,

i want to start/stop/restart diffrent server-daemons
with a perl script.

the script needs to have root rights in order to do this,
but it will be used by another user. suidperl seems to be
the only way to achive this.

ok, so i wrot a suidperl script, untainted the necessary stuff,
and it works fine.

to test, if the suid part is working, i do a `ls /root` within
the script, and every user can happyly list the root directory ;-)

but when i try do do some thing like `/etc/init.d/mydaemon restart`
i get:

killproc: Can not signal TERM to process with pid 8422: Operation not
permitted

how can this be ? what am i missing ?


any help or hints are welcome


cheers,
 Patrik Schaub


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to