Hi,

Nelson Serafica wrote on 07.11.2007 at 20:41:34 [Re: [BackupPC-users] how to 
add hosts]:
> 
> I'm just wondering how can I login as "backuppc" user? I create user using
> htpasswd
> 
> htpasswd -c /var/www/cgi-bin/.backuppcpsswd admin
> htpasswd /var/www/cgi-bin/.backuppcpsswd backuppc

That seems to make sense. Does your apache configuration reference this
file? As you can apparently login, it probably does. Then again, if removing
it makes no difference, it probably does not.

> When I login as backuppc, they have the same options when I login as admin.

What are $Conf{CgiAdminUsers} and $Conf{CgiAdminUserGroup} set to? Does
$Conf{CgiAdminUsers} include 'admin'?

> So what I did is remove the backuppcpsswd but still the same to have no
> security but still the same.
> 
> How can I login to as administrator so that I can see different options such
> as Admin Options?

Set up your apache authentication configuration and $Conf{CgiAdminUsers}
correctly. I'm not an Apache expert, but you probably want something like

        AuthUserFile /var/www/cgi-bin/.backuppcpsswd
        AuthType basic
        AuthName "BackupPC admin"
        Require valid-user

in an appropriate part of your Apache configuration and

        $Conf {CgiAdminUsers} = 'admin';

in your global BackupPC config.pl.

Regards,
Holger

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to