On Tue, Feb 7, 2012 at 2:12 PM, Richard Shaw <hobbes1069 AT gmail DOT com>
wrote:
>>
>> I have to admit, the first change I make on BackupPC systems is to set
>> SELinux to Permissive. Too many issues without doing that.
>>
>> It's on my list to overcome that, but not a real high priority, sadly.
>
> I'm not sure what the differences are between Fedora and RHEL as far
> as SELinux, but I know I didn't have to do anything in order to get
> the BackuPC web interface working.
>
> I have apache.users in /etc/BackupPC.
I think it depends on the security context of the process when you
create the apache.users file. For example, if you run ssh-copy-id
from a pre 6.x system to update your authorized_keys file on a 6.x
system, the file is created with the wrong context and sshd will not
be able to read it. This may be something similar.
--
Les Mikesell
lesmikesell AT gmail DOT com
>
> In /etc/httpd/conf.d/BackupPC.conf I have:
> <Directory /usr/share/BackupPC/sbin/>
> # BackupPC requires valid authentication in order for the web interface to
> # function properly. One can view the web interface without authentication
> # though all functionality is disabled.
> #
> # htpasswd -c /etc/BackupPC/apache.users yourusername
> #
>
> order deny,allow
> deny from all
> allow from 192.168.0.0/255.255.255.0
> allow from 127.0.0.1
> allow from ::1
> AuthType Basic
> AuthUserFile /etc/BackupPC/apache.users
> AuthName "BackupPC"
>
> require valid-user
>
> </Directory>
>
> Alias /BackupPC/images /usr/share/BackupPC/html/
> ScriptAlias /BackupPC
> /usr/share/BackupPC/sbin/BackupPC_Admin
> ScriptAlias /backuppc
> /usr/share/BackupPC/sbin/BackupPC_Admin
> ---
>
> Maybe this helps?
>
> Richard
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> 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/
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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/
|