--- Suwandi <[EMAIL PROTECTED]> wrote:
> 
> Ada yang tau ngak gimana caranya php running program tapi sebagai root, 
> kemudian hasilnya tersebut dikembalikan. kalau pake exec engak bisa, 
> karena blon diset sebagai root, but apache.
> 
> Thanks
> Suwandi 

Is there any chance you could repost this question in English?  Which language
is this, by the way?

Based on your subject line I would have to advise against running a PHP program
as root unless you had a *really* good reason to do so.  It seems to me that
running anything with root access that is available to largely anonymous web
connections is risky in the extreme.

Chances are good that there is another way to solve your problem without
opening large security holes in your server.  If we have a better idea of what
you want to do, we can try to help you.

James
_____


James D. Keeline
http://www.Keeline.com  http://www.Keeline.com/articles
http://Stratemeyer.org  http://www.Keeline.com/TSCollection

http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc.
Spring Semester Begins Jan 31 -- New Classes Start Every Few Weeks.


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to