Just trying to test/preview the software & things are not going well.
Finding where & how to configure the web client was difficult enough, it seems to work well, but the issue I am having is that it seems any system user can log in and configure/modify backups!?
I am running on an Amazon lightsail container so there are no ‘root’ credentials (sort of) so I created a user with no special privileges & was able to log into the web console using that users credentials…
Q. Is there a way to create/specify a specific privileged user that can ONLY manage backups?
I created a backup job of a couple of websites and a few system directories. That backup failed (consistently) It listed only 147 files, where there should be several thousand. I go t a bunch of errors in the logs:
seems to be no way to report or view “history” from the web console (had to view logs from the server)
Can this be related to an unprivileged user logging into the console & creating the backup?
Is there a way to wildcard directory structures in the backup job? i.e. I have a couple hundred websites that I don’t want to backup logs for … is there a config that can be edited to say do not backup /var/www/vhosts//logs/ sort of thing?
Decided to do a little testing with users, it appears that when a system user logs in and creates a backup plan, that plan is written to the etc/plans directory with their permissions. ~ OK, the cbb process appears to be running as root, which makes no sense that it should not have permission to open various directories ???
But that’s not the horrifying part. I was able to create an FTP user VIA the hosting control panel (Plesk) - guess who was able to log in as a lowly unprivileged FTP user and potentially make a backup of all my data to any location they desire?
-rw-r--r-- 1 root root 4512 Nov 4 21:52 {3f13ce43-fd5d-4403-aeb1-52d3b96f0dbc}.cbb
-rw-r--r-- 1 root root 4260 Nov 6 18:19 {48fc42a5-08da-4e6b-943c-b9f4596779fc}.cbb
-rw-r--r-- 1 randy_5643 psacln 4302 Nov 6 18:30 {6d8321b7-d463-4736-8b73-846784afff94}.cbb
-rw-r--r-- 1 root root 4330 Nov 6 18:26 {eb078eb8-7e04-47ac-9c64-f90d681cefab}.cbb
In theory, one of my hosting clients can now create an FTP account, log into the CloudBerry web access console and start backing up data to wherever they want.
IMO access to the web app is basically not controlled. kill -9 etc.
see above
I have several hundred websites in the /var/www/vhosts/ directory files I would like to exclude are logs and caches…