Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-01-2006, 09:10 PM   #1
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, 03:01 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
suEXEC is probably what you are looking for - see:


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 08:02 AM
Allow user to run their own cgi script samwong Linux - Newbie 5 05-25-2004 11:22 PM
Help CGI won't run under Apache shuttleX Linux - Software 2 06-05-2003 03:37 PM
cgi script doesn't run just downloads SchoolITguy Programming 3 12-19-2002 04:08 PM
Auto Run A Cgi Script f117bomb Linux - General 1 11-25-2001 02:18 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:21 PM.

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