|
Posted by TomT on 06/02/05 13:29
I want to issue a reboot comand to a linux PC, using a PHP Page.
Ideally I'd like to have a 'text box' for the IP address, $IPADDRESS,
with a 'reboot' button.
So the user enters the IP, eg: 10.0.0.1
The from within the php page we telnet to the $IPADDRESS, providing
providing the correct username and password:
telnet $IPADDRESS username password
once connect we need to pass the reboot command..
Can all this be done on a linux PC, from a web page ?
Security is not an issue, we wnat the pc to be able to do this !
Thanks
[Back to original message]
|