BackupPC-users

Re: [BackupPC-users] Have to set Apache User to BackupPC?

2014-05-15 09:56:14
Subject: Re: [BackupPC-users] Have to set Apache User to BackupPC?
From: Carl Cravens <ccravens AT excelii DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 15 May 2014 08:23:58 -0500
Debian does it by making index.cgi setuid backuppc.  Now that's a binary and 
not a script, and I don't know if that's the standard BackupPC or if the Debian 
maintainer has written a setuid wrapper.

Another way to do it is to set up a separate virtual host for BackupPC and use 
suexec to run the entire virtual host as the backuppc user.  I use this a lot 
on my webservers.

<VirtualHost *:80>
     ServerName backuppc.sampledomain.net

     SuexecUserGroup backuppc backuppc

...

</VirtualHost>

suexec is an Apache module, so you have to install/enable it first.


On 05/15/2014 02:52 AM, 李欣 wrote:
> Hi,
>
> I am trying to install and configure BackupPC on a CentOS 6.3 server by 
> following this link:
>
> http://wiki.centos.org/HowTos/BackupPC
>
> In Configure Apache section,
> it says I have to change User *apache *to User *backupPC*.
>
> Do I have to set User to backupPC?
> Is there any way to get around it?
>
> I am trying to backup a local website server,
> and it has to run the website by User apache.
>
> Thanks in advance.
> LI Xin
>
>
> **
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
>
>
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>


-- 
Carl D Cravens (raven AT phoenyx DOT net)
ANY system works with enough hammer thumps.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/