Run urbackup as another user than urbackup

Hi
I am trying to run my urbackup server (v2.1.19.1765) as another user than urbackup, on an Ubuntu server.
The reason is that if I use urbackup to write to my share, I can’t access the backup with my domain users.
So I was hoping that running the server as a domain user “backupper” should fix this.
“/usr/bin/urbackupsrv run -v debug --user backupper -d --config /etc/default/urbackupsrv”
But it still starts the daemon as urbackup:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
“urbackup 23015 0.0 0.0 200100 11604 ? Sl 15:26 0:00 /usr/bin/urbackupsrv run -v debug --user backupper
-d…”

So is it at all possible to start urbackup as another user another user?
Any ideas how to get this working?

Thanks

Rgards Atle

At the bottom of the /etc/default/urbackupsrv file there is a setting to change the user that the process runs as.

1 Like

Thanks a lot… :slight_smile:
That did the trick so I could run urbackupsrv as another user.

Atle

How can i change the default user from “urbackup” to “root” when installed via docker?

I have installed urbackup via docker and enabled ZFS on it. In order for urbackup to manipulate the ZFS snapshots on the host system, it needs to be running as “root”.

Do you know hot to achieve this?