Re: Shut down server
| From: | Rosen | Date: | Fri, 14 Jun 2002 16:57:50 +0000 |
| Subject: | Re: Shut down server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102233@lists.php.net to get a copy of this message | ||
Hi,
I want to make server on Linux Red Hat 7.2 to shutdown from WEB interface.
A'll not have any access to this server. Server will not be connected to
Internet - it's local for organization. I want one men from them only to
turn on computer and to shutdown server via WEB interface without any
administrative rights on server.
I tried to shut down server with exex("/sbin/poweroff") but nothing
happened!
Can someone tell me how I could make shut down the server via PHP command or
executing Linux command?
Is it possible ?
Thanks,
Rosen
Ed Lazor <ELazor@providence.org> wrote in message
news:C8891DEC2698D411A91B00508BF9898806E11798@phsormsg04.phsor.org...
> Could you restate this question? Sorry, I don't understand what you're
> asking.
>
> > -----Original Message-----
> > but the idea is another user only to start and shutdown the server.
>
>
****************************************************************************
> This message is intended for the sole use of the individual and entity to
> whom it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. If you are
> not the intended addressee, nor authorized to receive for the intended
> addressee, you are hereby notified that you may not use, copy, disclose or
> distribute to anyone the message or any information contained in the
> message. If you have received this message in error, please immediately
> advise the sender by reply email and delete the message. Thank you very
> much.