#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    1
    Rep Power
    0
    Hello Forum!
    I need to execute an external programm out of php. What user-permission does my webserver have and how can I change it?
    The www-server needs to have a home directory, but I donīt know how to do this.
    Please help

    PS: Sorry for my english, iīm working on it! =)

    [This message has been edited by InnerFire (edited November 06, 2000).]
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Melbourne, Victoria, Australia
    Posts
    104
    Rep Power
    14
    Assuming you're running PHP as an apache module, it will run as whatever your apache is running as. By default this is user nobody and group nobody, and you can change that in httpd.conf.

    The user permissions your server has depends on what you're trying run and what user/group owns it and what permissions it has.

    Hope that helps,

    Josh
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    11
    Rep Power
    0
    Look for the User and Group directives in your httpd.conf, you can set them to whatever your heart desires. Except root... =;^)

    -Joe

IMN logo majestic logo threadwatch logo seochat tools logo