Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)

2005-11-28 Thread Bernardo . Rechea
Sorry for responding so late. I finally got around to doing wht you suggested, and thought it was worth sending it to the mailing list, if only for the record. Basically, /usr/bin/perl, /usr/bin/perl5.8.X, and /usr/bin/suidperl are all hardlinks to the same thing, and /usr/bin/sperl5.8.X is

[BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)

2005-11-18 Thread Oystein Viggen
* [EMAIL PROTECTED] The most difficult part of my BackupPC install was indeed dealing with the suid stuff To avoid suidperl, you can put the cgi script in ~backuppc/public_html/ and let Apache SuEXEC handle the suid stuff. The only difference should be that the admin URL will now be

Re: [Fwd: Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)]

2005-11-18 Thread Rich Duzenbury
On Thu, 2005-11-17 at 05:48 +0100, Rutger wrote: BTW: This was my output... no Remote-user. On the commandline it works, at the browser it doesn't. What messages are listed in the apache error log? On my system that is /var/log/apache2/error.log

Re: [Fwd: Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)]

2005-11-18 Thread Rich Duzenbury
On Thu, 2005-11-17 at 18:25 +0100, Rutger wrote: On Thu, 2005-11-17 at 05:48 +0100, Rutger wrote: BTW: This was my output... no Remote-user. On the commandline it works, at the browser it doesn't. What messages are listed in the apache error log? On my system that is

Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)

2005-11-16 Thread Bernardo . Rechea
: | | bcc: | | Subject: Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end

Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)

2005-11-16 Thread Les Mikesell
On Wed, 2005-11-16 at 12:15, [EMAIL PROTECTED] wrote: Furthermore, the only way I could make the CGI script run was to # chmod u+s /usr/bin/perl Running the script with /usr/bin/suidperl, rather than /usr/bin/perl didn't make any difference (it might work if chmod'ing it to

Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)

2005-11-16 Thread Bernardo . Rechea
Suidperl should be owned by root and suid, perl should not. The point of the separate suid binary is that it does some additional checking and works around the usual race conditions when kernels do the suid handling for scripts. OK, that clarifies things, thanks a lot, Les. Then I should be

Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)

2005-11-16 Thread Rutger
On Wed, 2005-11-16 at 10:38 +0100, Rutger wrote: OK, but what's the solution at this moment ? Suid-perl is installed here, Debain automaticly gets what it needs so it was installed. AFAICT, the backuppc interface still needs suid perl. What was the outcome of the script I asked you to run?

[Fwd: Re: [BackupPC-users] Re: CGI-error on Debian Sarge Install ( Premature end of script headers: index.cgi)]

2005-11-16 Thread Rutger
On Wed, 2005-11-16 at 10:38 +0100, Rutger wrote: OK, but what's the solution at this moment ? Suid-perl is installed here, Debain automaticly gets what it needs so it was installed. AFAICT, the backuppc interface still needs suid perl. What was the outcome of the script I asked you to run?