Re: [BackupPC-users] Web interface does not propose any user/password field.

2010-08-28 Thread Xuo
 Hi,

I have found the solution (with your help).
I have added the lines in /etc/httpd/conf/webapps.d/backuppc.conf.
This file now contains :

# BackupPC Apache configuration
Alias /backuppc /var/www/backuppc


Options ExecCGI
DirectoryIndex BackupPC_Admin.cgi
Allow from all
AuthType Basic
AuthUserFile /etc/backuppc/apache.users
AuthName "BackupPC"
require valid-user


This is for Mandriva 2010.1.

Regards.

Xuo.


Le 28/08/2010 18:47, Dinesh Shah (દિનેશ શાહ/दिनेश शाह) a écrit :
> On Sat, Aug 28, 2010 at 5:41 PM, Xuo  wrote:
>> Hi,
>>
>> I have just installed backuppc WITHOUT using mod_perl.
>> The $Conf{CgiAdminUsers} is set to 'backuppc'.
>> I can connect to the web interface but I am not asked for any user/password.
>> I can access to all computers managed by backuppc.
>> In fact, anybody from any computer has full access to the web interface.
>>
>> If I set $Conf{CgiAdminUsers} to any other user, then I do not have any
>> access to menus of the web interface (or only a very small number). So I
>> can't do anything.
>>
>> It seems that I need to keep the admin user as backuppc.
>>
>> Is it possible to configure the cgi interface of backuppc to grant access
>> only after a user/password field has been filled.
> The web user passwords are stored in /etc/BackupPC/apache.users (at
> least on my Fedora 10 Box) or equivalent file.
>
> Please use htpasswd command to add/change user password.
>
> Also check your web server configuration and make sure that you at least have
>
> AuthType Basic
> AuthUserFile /etc/BackupPC/apache.users
> AuthName "BackupPC
>
> require valid-user
>
> The Apache web server then will prompt for username and password
> before allowing access to BackupPC CGI
>
>> Regards.
>>
>> Xuo.
>>
> HTH
> With regards,


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
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/


Re: [BackupPC-users] Web interface does not propose any user/password field.

2010-08-28 Thread Xuo
 Le 28/08/2010 18:47, Dinesh Shah (દિનેશ શાહ/दिनेश शाह) a écrit :
> On Sat, Aug 28, 2010 at 5:41 PM, Xuo  wrote:
>> Hi,
>>
>> I have just installed backuppc WITHOUT using mod_perl.
>> The $Conf{CgiAdminUsers} is set to 'backuppc'.
>> I can connect to the web interface but I am not asked for any user/password.
>> I can access to all computers managed by backuppc.
>> In fact, anybody from any computer has full access to the web interface.
>>
>> If I set $Conf{CgiAdminUsers} to any other user, then I do not have any
>> access to menus of the web interface (or only a very small number). So I
>> can't do anything.
>>
>> It seems that I need to keep the admin user as backuppc.
>>
>> Is it possible to configure the cgi interface of backuppc to grant access
>> only after a user/password field has been filled.
> The web user passwords are stored in /etc/BackupPC/apache.users (at
> least on my Fedora 10 Box) or equivalent file.
>
> Please use htpasswd command to add/change user password.
>
> Also check your web server configuration and make sure that you at least have
>
> AuthType Basic
> AuthUserFile /etc/BackupPC/apache.users
> AuthName "BackupPC
>
> require valid-user
>
> The Apache web server then will prompt for username and password
> before allowing access to BackupPC CGI
>
Hi,

Thank you for your answer but my mandriva seems really different from
your distribution ( ;-) ).
I have created the password for user backuppc (and for user xuo).
But I don't know where to add the Auth... lines.
Could you tell me in which file I should add the lines and where exactly
in this file.

Regards.

Xuo.
>> Regards.
>>
>> Xuo.
>>
> HTH
> With regards,


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
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/


Re: [BackupPC-users] Web interface does not propose any user/password field.

2010-08-28 Thread દિનેશ શાહ/दिनेश शाह
On Sat, Aug 28, 2010 at 5:41 PM, Xuo  wrote:
> Hi,
>
> I have just installed backuppc WITHOUT using mod_perl.
> The $Conf{CgiAdminUsers} is set to 'backuppc'.
> I can connect to the web interface but I am not asked for any user/password.
> I can access to all computers managed by backuppc.
> In fact, anybody from any computer has full access to the web interface.
>
> If I set $Conf{CgiAdminUsers} to any other user, then I do not have any
> access to menus of the web interface (or only a very small number). So I
> can't do anything.
>
> It seems that I need to keep the admin user as backuppc.
>
> Is it possible to configure the cgi interface of backuppc to grant access
> only after a user/password field has been filled.

The web user passwords are stored in /etc/BackupPC/apache.users (at
least on my Fedora 10 Box) or equivalent file.

Please use htpasswd command to add/change user password.

Also check your web server configuration and make sure that you at least have

AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC

require valid-user

The Apache web server then will prompt for username and password
before allowing access to BackupPC CGI

>
> Regards.
>
> Xuo.
>

HTH
With regards,
-- 
--Dinesh Shah :-)
Shah Micro System Pvt. Ltd.
+91-98213-11906
http://iopt.in
http://shahmicro.com
Blog: http://dineshah.wordpress.com

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
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/


[BackupPC-users] Web interface does not propose any user/password field.

2010-08-28 Thread Xuo
 Hi,

I have just installed backuppc *WITHOUT* using mod_perl.
The $Conf{CgiAdminUsers} is set to 'backuppc'.
I can connect to the web interface but I am not asked for any
user/password. I can access to all computers managed by backuppc.
In fact, anybody from any computer has full access to the web interface.

If I set $Conf{CgiAdminUsers} to any other user, then I do not have any
access to menus of the web interface (or only a very small number). So I
can't do anything.

It seems that I need to keep the admin user as backuppc.

Is it possible to configure the cgi interface of backuppc to grant
access only after a user/password field has been filled.

Regards.

Xuo.
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
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/