Ivan Arteaga wrote:
> Les Mikesell wrote:
>> Ivan Arteaga wrote:
>>
>>> Hello,
>>>
>>> I am running BackupPC on a centos box, it works fine but the problem is
>>> I am also running squirrelmail (and sendmail, samba etc) on the same
>>> server because it is a small business machine.
>>> When I did change the User from apache to backuppc in the
>>> /etc/httpd/conf/httpd.conf I can access the backuppc web interface but
>>> lose the access via webmail using squirrelmail because it uses apache as
>>> user access.
>>> It is any way to work both services together without problems? May i run
>>> backuppc web interface using apache as user?
>>> I will appreciate any comment.
>>>
>> If you aren't using mod_perl for backuppc you don't need to run httpd and
>> backuppc as the same user. Normally you don't use the web interface enough
>> that
>> the speed matters anyway. The cgi program can run setuid - it just has to be
>> owned by backuppc and executable by httpd.
>>
>> But, you are kind of missing the point of having a backup if it's on the
>> same
>> machine as the things being backed up.
>>
>>
> Thanks for the reply, how can I check if I am using mod_perl? I did
> install using rpm and don't remember any choice at the install time.
The rpm probably dropped a conf file snipped in /etc/httpd/conf.d. See
if it mentions perl as a handler. If it just has a scriptalias, it
isn't mod_perl, but then the BackupPC_Admin script should have the
setuid bit set (wherever it landed).
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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/
|