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
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474

-----Original Message-----
From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 6:29 PM
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 ?

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to