You are not logged in.
Hi
i have a backuppc setup with apache, while the backup part is working, the UI, via apache stop working.
After several updates in the last months, i found that the UI stopped working and now return:
Error: Wrong user: my userid is 33, instead of 91(backuppc)
This script needs to run as the user specified in $Conf{BackupPCUser}, which is set to backuppc.
This is an installation problem. If you are using mod_perl then it appears that Apache is not running as user backuppc. If you are not using mod_perl, then most like setuid is not working properly on BackupPC_Admin. Check the permissions on /usr/share/backuppc/cgi-bin/BackupPC_Admin and look at the documentation.
while in the past the wiki helped https://wiki.archlinux.org/title/Backup … e_settings and managed to put it to work, now, no matter what i try, always fail with the same problem. Even going to AI for help end in a dead end. Looks like apache updates blocked the workarounds.
So any hint how to put this to work? or will i have to move to a docker setup or migrate all my sites to nginx? (and will even nginx work or also fail?)
thanks in advance for the help
higuita
Offline
i noticed that we have a new file in
/etc/systemd/system/httpd.service.d/hardening.conf
that is probably limiting the apache... adding this line
NoNewPrivileges=off
solved the issue...
now second part, how to correctly fix this to limit the suid to the backuppc user instead of disabling it totally
Offline