On 4 août 2012, at 20:50, Bryan Keadle (.net) wrote: By default "file-based" authentication is used. To create an account for logging in, at the system console run:htpasswd /etc/BackupPC/apache.users (username)
that will allow (username) to login with the password you've defined. They'll only be able to see the workstation that they have been associated with in the Edit Hosts link. If (username) is a member of the CgiAdminUsers (something like that), they have access to everything that backuppc user has.
In my environment, I have enabled LDAP authentication in apache, so users are able to login with their domain username/password (and only see workstations they have been associated with unless added to the CgiAdminUsers list.
That help? Thanks, that helps indeed !
My problem is that I installed backuppc on a cheap NAS (a synology, with a huge RAID array) and the thing is "busybox" based and I don't want to mess with their "apache" (which is very limited) build and config. I tried, but only way to make it work was to run backuppc as `root` whis is... like... not something to do.
So I compiled Lightttpd and use it for communications with backuppc.
From your answer, all that I need to do is play a little with Lighttpd ACL mechanism, which should be doable :)
Thanks a lot
|