LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2006, 08:10 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
run cgi script as a user other than apache


hi there,

i'm just wondering how I can set a cgi script to run as a user other than the apache user?

I'm trying to install backuppc and i'm getting this error message

'Error: Wrong user: my userid is 48, instead of 502(backuppc)'

can anyone help?
 
Old 06-02-2006, 02:01 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
suEXEC is probably what you are looking for - see:
http://httpd.apache.org/docs/2.0/suexec.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access forbidden when trying to run cgi script allan_y Linux - Software 4 10-07-2004 07:02 AM
Allow user to run their own cgi script samwong Linux - Newbie 5 05-25-2004 10:22 PM
Help CGI won't run under Apache shuttleX Linux - Software 2 06-05-2003 02:37 PM
cgi script doesn't run just downloads SchoolITguy Programming 3 12-19-2002 03:08 PM
Auto Run A Cgi Script f117bomb Linux - General 1 11-25-2001 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration