My apologies to Richard.
I had sent this email directly to him rather than the list (so everyone
can learn, too.)
My bad, "reply" instead of "reply all".
-------- Original Message --------
SUBJECT:
Re: [BackupPC-users] BackupPC v4 for Fedora / EPEL Update
DATE:
2017-04-01 18:40
FROM:
Bob of Donelson Trophy <b...@donelsontrophy.net>
TO:
Richard Shaw <hobbes1...@gmail.com>
REPLY-TO:
b...@donelsontrophy.net
On 2017-03-31 18:58, Richard Shaw wrote:
> On Fri, Mar 31, 2017 at 4:34 PM, Bob of Donelson Trophy
> <b...@donelsontrophy.net> wrote:
>
>> I have modified the /etc/httpd/conf.d/BackupPC.conf as you suggested but,
>> for my subnet.
>>
>> I did get BackupPC to ask for my web user name and password once but, now I
>> am getting "Forbidden" and no login prompt (box.)
>
> Try a different browser? Did it try to remember the password?
>
>> When I "cat" the /etc/BackupPC/apache.users file I see the only user listed
>> is "backuppc:longstringoflettersandnumbers/" so I am assuming that the web
>> user is "backuppc" correct?
>
> Yes, it's the user you created with the hash of the password.
>
>> And "backuppc" should use the webpassword I created with "htpasswd -c
>> /etc/BackupPC/apache.users backuppc". (I know updating passwd I remove the
>> "-c" from the command.)
>>
>> Scratching my head (which is actually fingernails digging into scalp . . all
>> the hair is gone.)
>
> Not sure at this point, I just updated the COPR to 4.1.1 and fixed a few more
> things (the documentation link works now) and no issues for me...
>
> Thanks,
> RIchard
I have updated to your latest COPR and v4.1.1. Thank you for that.
I have been researching signing into the web gui. Even before I upgraded
to v4.1.1 I was having resistance to signing in with the backuppc user
with the htpasswd I have set up.
I mentioned in a previous email that the backuppc user appears in the
/etc/BackupPC/apache.users file, as it should. But, When I sign into the
[ipaddress]/BackupPC it gives an "Internal Server Error". If I modify
the /etc/httpd/conf.d/BackupPC.conf file and add "Require all granted"
and comment out the "Require valid-user" I can access the gui however, I
cannot do much of anything. Understandable as BackupPC does not "know"
the user I am accessing it with. When I invert this back to the correct
configuration I am NOT presented with a user login but rather the
"Internal Server Error".
What file permissions rights should the /etc/Backup[PC/apache.users file
have?
[root@localhost ~]# ls -alh /etc/BackupPC/
total 192K
drwxr-x---. 2 backuppc backuppc 112 Apr 1 06:55 .
drwxr-xr-x. 80 root root 8.0K Apr 1 07:42 ..
-rw-r--r--. 1 root root 47 Apr 1 18:14 apache.users
-rw-r--r--. 1 backuppc backuppc 83K Mar 31 13:22 config.pl
-rw-r--r--. 1 backuppc backuppc 83K Mar 31 13:22 config.pl.sample
-rw-r--r--. 1 backuppc backuppc 2.2K Mar 31 13:22 hosts
-rw-r--r--. 1 backuppc backuppc 2.2K Mar 31 13:22 hosts.sample
-rw-r-----. 1 backuppc backuppc 0 Apr 1 17:53 LOCK
Does your /etc/BackupPC/ directory have these rights?
I am not sure I am looking in the correct place but, I think I am
dealing with a permissions issue.
Thoughts?
--
_______________________________
Bob Wooden of Donelson Trophy
--
_______________________________
Bob Wooden of Donelson Trophy
615.885.2846
www.donelsontrophy.com [1]
"Everyone deserves an award!!"
Links:
------
[1] http://www.donelsontrophy.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/