Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Howto restart httpd deamon in a script 1

Status
Not open for further replies.

Triger666

MIS
Jan 29, 2002
14
0
0
CA
I am trying to create a script that makes modifications on our system and then restarts the HTTPD deamon. The thing is I want any user to be allowed to run it, so I do not want it to "su - root" because they could edit it and get root. I also want to avoid "suid" cause I do not want to ally HTTPD do have "suid executable" on it. Could you help.

/etc/rc.d/init.d/httpd restart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top