Reputation: 7091
I want to restart a linux service from a shell CGI script, which obviously requires root rights. I'm kind of out of options that I know of:
setuid
on my CGI script doesn't work and people say it's generally a bad ideaWhat are the best practices of doing something like that?
Upvotes: 0
Views: 333