php3-list | 199908
Date: 08/09/99
- Next message: bben: "[PHP3] ~{;X84~}: [PHP3] about sendmail and mail("
- Previous message: Florian Petter: "[PHP3] php and oracle"
- In reply to: ryan <email protected>: "[PHP3] .htaccess"
- Next in thread: Zeev Suraski: "[PHP3] Re: [PHP4BETA] Re: [PHP3] OO"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ryan <email protected> wrote:
>
> I know these may not be the right mailing lists to send to, but I was
> wondering if someone could help me with this problem.
>
> I'm making a virtual control panel for a virtual server and I need to
> operate some commands as root. Is there a way I could do this in PHP if
> PHP is set up as a module in Apache? It would be nice to use .htaccess
> for authentication and somehow grab that information so that PHP realizes
> which user is editing their profile and create a session ID. How could I
> encorporate this into PHP? Thanks for any help or suggestions in advance.
>
> Ryan Thompson
You can execute commands as root only if they are suid-ed to root.
-- CIMPOESU Teodor, Web Programmer@ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo <email protected>,+(401)-330.47.28
official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: bben: "[PHP3] ~{;X84~}: [PHP3] about sendmail and mail("
- Previous message: Florian Petter: "[PHP3] php and oracle"
- In reply to: ryan <email protected>: "[PHP3] .htaccess"
- Next in thread: Zeev Suraski: "[PHP3] Re: [PHP4BETA] Re: [PHP3] OO"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

