Article View: es.comp.os.linux.programacion
Article #8672Ejecutar script con PHP
From: PATAN
Date: Fri, 25 Oct 2002 21:44
Date: Fri, 25 Oct 2002 21:44
9 lines
1252 bytes
1252 bytes
Buenas. Estoy haciendo una web con PHP, y necesitaba poder ejecutar un script hecho tambi�n con PHP pero con permisos de ROOT, �Sabe alguien como se puede hacer esto? en concreto tendria que preguntar la contrase�a de root y si es correcta ejecutar el script, he estado mirando el su, pero no permite que se le pase la contrase�a como argumento (o eso creo). Un saludo.
Technical Details
Message-ID:
<qvdcpa.e48.ln@www.mardot.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!cm225019.red.mundo-r.COM!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,bef4549bd8e541b0,start X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-10-25 13:00:32 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!cm225019.red.mundo-r.COM!not-for-mail From: PATAN <mardot_esSPAM@terra.es> Newsgroups: es.comp.os.linux.programacion Subject: Ejecutar script con PHP Date: Fri, 25 Oct 2002 21:44:26 +0000 Lines: 10 Message-ID: <qvdcpa.e48.ln@www.mardot.com> Reply-To: mardot_esSPAM@terra.es NNTP-Posting-Host: cm225019.red.mundo-r.com (213.60.225.19) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: fu-berlin.de 1035576031 360955 213.60.225.19 (16 [142849]) X-Orig-Path: www.mardot.com!not-for-mail User-Agent: KNode/0.7.1