Mathis, Jim wrote:
> Hello,
>  
> I'm attempting to use the standard CGI interface but it does not appear 
> to be working. Additional, info as follows:
>  
> user = root
> directory= /var/www/cgi-bin/BackupPC_Admin
> permission settings: --wsr-x---  root root  BackupPC_Admin
> http= httpd service is running

First, you probably don't want to run as root, and you normally don't 
need to.  Second, you have to allow read permission on scripts for 
something to execute them, so change the group to whatever your web 
server uses.

> I've noticed that the permission setting is not the same as listed in 
> the documentation but I've tried various "chmod" settings and was 
> not able to make the permission settings identical to " -swxr-x--- root 
> web ". For example, I used "chmod u+s+w+x " and "chmod g+r+x" and the 
> permission settings as previously provided are displayed. Additionally, 
> when I type "./BackupPC_Admin" from the cgi-bin directory, nothing 
> happens - no errors are displayed and no display is output. I assume 
> that setuid emulation is working since I didn't get a userid error. I'd 
> appreciate any additional information. Thanks.

You should get some html output when you execute the script directly and 
root should be allowed to do that.  If you are on Linux, try:
strace ./BackupPC_Admin
and see if the system calls it lists make sense or are failing.

-- 
   Les Mikesell
    [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to