From: David W. <dwi...@dt...> - 2012-04-17 13:03:53
|
On 4/17/2012 1:39 AM, Les Mikesell wrote: > On Mon, Apr 16, 2012 at 9:55 PM, David Williams > <dwi...@dt...> wrote: >> I was able to mount my old hard drive that crashed and take a look at a few things. I guess the first thing of note is that I am using the BackupPC_Admin.cgi script, so I believe that means a basic install. >> I am not able to see the correct links down the left hand side but now I am getting the infamous message: >> >> Error: Wrong iuser: my userid is 485, instead of 482(backuppc). >> >> userid 485 is apache. I've tried to understand what's happening but I can't figure it out. The permissions of the BackupPC_Admin.cgi file is as follows: >> >> -rwsr-x--- backuppc apache >> >> As far as I can tell that is correct. Shouldn't that ensure that BackupPC_Admin.cgi gets run as the backuppc user? > You may need to have perl-suid (or perl-suidperl, depending on your > linux distro and packaging) installed. Or maybe httpd-suexec for some > versions... > > And you don't see much in the web interface until you can log in as > and admin user - so apache has to be configured to request a login for > the location and you need to have your login in $Conf{CgiAdminUsers}. > Ok, so that is where I am stuck, apache is not asking me for a login. I have my config.pl file from my previous install (located in /etc/backuppc) and it does have an admin user define in $Conf{CgiAdminUsers}. I also have a .htaccess file in my /var/www/backuppc directory so I am not sure what apache is not asking for a login. |