php and shel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sinapsi

    #1

    php and shel

    I would like to allow my website users to run one program they have in their
    home directories.

    Normally I use exec() to execute some program on the shell which run with
    the user "apache".

    Is there any way to run a program with the user login instead of apache?

    Thnx
    sin


  • Nikolai Chuvakhin

    #2
    Re: php and shel

    "sinapsi" <info@zam.it> wrote in message
    news:<flTXa.365 89$cl3.1198115@ news2.tin.it>.. .[color=blue]
    >
    > Is there any way to run a program with the user login instead of apache?[/color]

    Yes. Type "man sudo" in your Linux command line...

    Cheers,
    NC

    Comment

    Working...