Was able to change the group to "apache" and the permission settings. As follows: -rwsr-x--- root apache BackupPC_Admin However, no displayed is observed when executing ./BackupPC_Admin (same as before). Did notice that there are two other CGI scripts within the cgg-bin directory "htsearh" and "qtest". When executing these scripts - no output is also displayed. Strace was performed on all the files and activity displayed appeared normal.
Note: This may also be some other problem as "qtest" and "htsearch" work on machines using Linux Centos 4.5. I've noticed that machines using Linux ES 4.5 all display the same symptoms - no output. Appreciate any additional advice. Thanks. -Jim -----Original Message----- From: Les Mikesell [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 1:23 PM To: Mathis, Jim Cc: [email protected] Subject: Re: [BackupPC-users] CGI Interface 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/
