Petre, et al --
...and then Petre Agenbag said...
%
% Hi List
Hi!
%
% I've gone through the list for previous questions and the only one that
% seems to be a solution is to use sudo, however, I cannot seem to get it
% right.
...
%
% Obviously these command(s) need to be run as root, so I loo
chown 700 /directory/for/rrebootfile
> chown apache.nobody /directory/for/rrebootfile
>
>
> -Mensaje original-
> De: Matthew Harrison [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 28 de agosto de 2003 15:49
> Para: Javier Tacon
> CC: Petre Agenbag; [EMAIL PROTECTED]
..
chown 700 /directory/for/rrebootfile
chown apache.nobody /directory/for/rrebootfile
-Mensaje original-
De: Matthew Harrison [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 28 de agosto de 2003 15:49
Para: Javier Tacon
CC: Petre Agenbag; [EMAIL PROTECTED]
Asunto: Re: [PHP] reboot pc with PHP
On
will reboot the machine.
>
>
>
> -----Mensaje original-----
> De: Javier Tacon
> Enviado el: jueves, 28 de agosto de 2003 15:07
> Para: Petre Agenbag; [EMAIL PROTECTED]
> Asunto: RE: [PHP] reboot pc with PHP
>
>
>
> You can write a little script with expect (
-Mensaje original-
De: Javier Tacon
Enviado el: jueves, 28 de agosto de 2003 15:07
Para: Petre Agenbag; [EMAIL PROTECTED]
Asunto: RE: [PHP] reboot pc with PHP
You can write a little script with expect (man expect) and execute it from php with
exec().
Other solution its to write a .pro
You can write a little script with expect (man expect) and execute it from php with
exec().
Other solution its to write a .procmailrc in root that executes the reboot when coming
a mail with some text in subject or boyd, so, from php you only need to send a mail.
-Mensaje original-
De
6 matches
Mail list logo