Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Service controller for Linux/Unix

by tadman (Prior)
on Feb 09, 2001 at 07:57 UTC ( [id://57334]=note: print w/replies, xml ) Need Help??


in reply to Service controller for Linux/Unix

Though at the risk of the dreaded featuritis, why not extend this little script to operate in 'suid' mode (with taint checking, of course) so that regular users can do stuff without 'sudo' or 'su' such as restart the Apache server or DNS?

A little 'chmod +s', checking of $< and it might be that exponentially more useful. Of course, 'suid' mode could be an option, such that it doesn't explicitly have to be suid, but if it were, you can be even more lazy.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://57334]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-23 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found