BackupPC-users

Re: [BackupPC-users] Had to reinstall

2012-04-17 01:41:24
Subject: Re: [BackupPC-users] Had to reinstall
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: dwilliams AT dtw-consulting DOT com, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 17 Apr 2012 00:39:22 -0500
On Mon, Apr 16, 2012 at 9:55 PM, David Williams
<dwilliams AT dtw-consulting DOT com> 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}.

-- 
  Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>