Re: [BackupPC-users] Multi-tenancy for web interface possible
2012-06-21 13:17:04
Donny,
On Thu, Jun 21, 2012 at 10:59 AM, Kameleon <kameleon25 AT gmail DOT com> wrote:
with user backuppc. This user is able to see every host we have. So I
need to do some digging and remember how we setup authentication. But
it should be as easy as adding another user to whatever mechanism we
used and putting "user root More users newusername" on their hosts
corect?
The web interfaces uses http authentication and sets up (by default as I recall) a .htaccess file in your cgi-bin directory (e.g. /var/www/cgi-bin) like:
[root@axisbackup ~]# cat /var/www/cgi-bin/.htaccess AuthGroupFile /etc/httpd/conf/group # <--- change path as needed AuthUserFile /etc/httpd/conf/passwd # <--- change path as needed AuthType basic
AuthName "AxisBackup Access" require valid-user
So, with this, you'd add a new user with:
htpasswd /etc/httpd/conf/passwd newusername
You'll be prompted for the password and then that user (newusername) will be added to the /etc/httpd/conf/passwd file and will then be able to log in. Link them to hosts in the backuppc hosts file and you should be all set.
Chris
-- Chris Stone AxisInternet, Inc. www.axint.net
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________
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/
|
|
|