Run Linux Commands locally via php website

Southy

New Member
Is it possible to setup a linux box as a webserver and then create a webpage in php to run simple commands such as restarting services or rebooting the machine, so that these commands could be run from a web browser instead of having to login. Like I know you can make scripts to execute such commands but I wanted to do it in my web browser. Thank you.
 
...so that these commands could be run from a web browser instead of having to login.

AFAIK, you'll have to log in to any Linux machine before you run commands, even if it is from a browser. Why would you want to be able to execute commands from a browser without logging in? Sounds like a huge security risk to me...
 
Back
Top