linux shutdown from php

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
hward
Forum Contributor
Posts: 107
Joined: Mon Apr 19, 2004 6:19 pm

linux shutdown from php

Post by hward »

can a php page in apache rootboot and shut down a fedora core that is hosting the page??
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

Only if the user under which apache is running has the appropriate permissions to run the 'shutdown' command.
Post Reply