FS#32641 - [backuppc] allow backuppc running as a different user from the webserver

Attached to Project: Community Packages
Opened by higuita (higuita) - Wednesday, 14 November 2012, 01:16 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 09 December 2012, 18:32 GMT
Task Type Feature Request
Category Upstream Bugs
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Backuppc right now requires the webserver running as the same user as the backuppc. This will break several other sites that might be running also on the webserver.

with the lack of perl-suid, there is another way to do this, enable a suid binary wrapper that will take care of the user switch and loads backuppc on a clean enviorement

Please refer to the wiki update:
https://wiki.archlinux.org/index.php/BackupPC#The_webserver_user_and_the_suid_problem

Problem already reported upstream, but due the low development rate of backuppc there is still no reply:
http://sourceforge.net/mailarchive/forum.php?thread_name=20120612134501.23000%40gmx.net&forum_name=backuppc-devel

So at least archlinux should patch this problem
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Sunday, 09 December 2012, 18:32 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Can be configured by many way in different webserver. Setuid wrapper is probably not the best way to do this.
Comment by Sébastien Luttringer (seblu) - Friday, 07 December 2012, 02:32 GMT
I saw this as a configuration issue when I pushed this package because you can choose many way of solving this "issue". You can :
- configure your web server to run this script as another user ;
- proxy your public web server to a local one running as backuppc ;
- use a setuid trick ;
- use a wrapper with poor privilege escalation.

Loading...