By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,746 Members | 1,928 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,746 IT Pros & Developers. It's quick & easy.

php and shel

P: n/a
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
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"sinapsi" <in**@zam.it> wrote in message
news:<fl*********************@news2.tin.it>...

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


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

Cheers,
NC
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.