Re: [PHP] Shut down server

2002-06-14 Thread SenthilVelavan
gt; > -Original Message- > From: Lazor, Ed [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 6:29 PM > To: 'Rosen'; [EMAIL PROTECTED] > Subject: RE: [PHP] Shut down server > > < clip > > > I am not a security expert. Check with ot

Re: [PHP] Shut down server

2002-06-14 Thread Rosen
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 adm

RE: [PHP] Shut down server

2002-06-14 Thread Lazor, Ed
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 u

Re: [PHP] Shut down server

2002-06-14 Thread Rosen
s, 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 > To: 'Rosen'; [EMAIL PROTECTED] > Subject: RE: [PHP] Shut down server > > < clip > &g

RE: [PHP] Shut down server

2002-06-13 Thread Bruce Karstedt
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 To: 'Rosen'; [EMAIL PROTECTED] Subject: RE: [PHP] Shut down server < clip > I am not a security expert. Check wi

RE: [PHP] Shut down server

2002-06-13 Thread Lazor, Ed
This has serious security implications. Research how to create a script on your system. Set it's sticky bit to run as a standard user that has authorization to run the shutdown command using SUDO. Make sure the script works from within UNIX and then call the script from PHP using exec. I am no

Re: [PHP] Shut down server

2002-06-13 Thread Rosen
The server is Linux Red Hat 7.2 Ed Lazor <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > That all depends on what kind of server you're referring to. > > > -Original Message- > > Hi, > > I tried to shut down my server with exex("/sbin/poweroff") but no

RE: [PHP] Shut down server

2002-06-13 Thread Lazor, Ed
That all depends on what kind of server you're referring to. > -Original Message- > Hi, > I tried to shut down my server with exex("/sbin/poweroff") but nothing > happened! > Can someone tell me how I could make shut down the server ? > Is it possible ? > > Thanks, > Rosen