Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running a script through webserver with priveleges
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Seather
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 194
Location: South Africa

PostPosted: Wed Dec 22, 2004 5:04 am    Post subject: Running a script through webserver with priveleges Reply with quote

I need to run a certain script (shell or perl) through apache with php which should have permissions to do something as a complete different user, not root though.

Sudo is out of the question, and I don't exactly know how to code c wrappers.

Anyone that can give me some help on this?

Thanks
Back to top
View user's profile Send private message
speed_bump
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 92
Location: Wisconsin, USA

PostPosted: Thu Dec 23, 2004 3:01 am    Post subject: Reply with quote

You're probably looking for suEXEC:

http://httpd.apache.org/docs-2.0/suexec.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum