Thanks for your answer!

The documentation tells that if Apache is not running as backuppc user, the
CGI file has to be run as setuid to the BackupPC user (
https://backuppc.github.io/backuppc/BackupPC.html#Step-9:-CGI-interface -
standard mode).

And this is the mode used by BackupPC 3 when installed with APT packages on
Debian.

This is exactly what I did, but it is not working..

Il giorno lun 17 feb 2020 alle ore 01:05 G.W. Haywood via BackupPC-users <
backuppc-users@lists.sourceforge.net> ha scritto:

> Hi there,
>
> On Sun, 16 Feb 2020, shacky wrote:
>
> > I'm trying to upgrade from BackupPC 3 to BackupPC 4 on one Debian system,
> > but I'm having problems with Apache2 and the BackupPC cgi file.
> >
> > The web interface tells me "Error: Wrong user: my userid is 33, instead
> of
> > 108(backuppc)", even if the cgi script belongs to the backuppc user and
> > suid is enabled:
> > ...
> > Could you help me to understand where I'm wrong, please?
>
> I think Apache needs permissions to run BackupPC that it doesn't have,
> probably because it's running as user 'www-data' and not 'backuppc'.
> So you can either change APACHE_RUN_USER and APACHE_RUN_GROUP in
> /etc/apache2/envvars from 'www-data' to 'backuppc' and restart Apache,
> (which might break everything else that Apache is serving) or if it is
> serving other stuff you could install SCGI - which is a bit more work.
>
> I believe this is all in the documentation.
>
> --
>
> 73,
> Ged.
>
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to