RE: [PHP] Shut down server
| From: | Bruce Karstedt | Date: | Fri, 14 Jun 2002 00:22:41 +0000 |
| Subject: | RE: [PHP] Shut down server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102115@lists.php.net to get a copy of this message | ||
This is a bad idea from a security standpoint. If your server is local,
login as root and type shutdown. If the system is remote telnet to the box,
login, su to root and type reboot. If you use shutdown remotely, there is no
way to restart the server.
Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474
-----Original Message-----
From: Lazor, Ed [mailto:ELazor@providence.org]
Sent: Thursday, June 13, 2002 6:29 PM
To: 'Rosen'; php-general@lists.php.net
Subject: RE: [PHP] Shut down server
< clip >
I am not a security expert. Check with others to get their opinion on
whether this is the best approach.
> -----Original Message-----
> The server is Linux Red Hat 7.2
> > > Can someone tell me how I could make shut down the server ?
> > > Is it possible ?