Hello,
i have written a script that every day creates a zfs-snapshot on my VMs and zfs send incremential snapshots of them via a ssh-tunnel to a host as a form of failsafe offline server.
My problem is that everything runs as root user and the pwds are hardcoded in that script.
I would like to create dedicated user on the receiving host that only have the permission to "zfs recev" into a dedicated VM-storage (e.g. into rpool/data/vm-100-disk-0 only)
Is that possible at all? Which type of user would i need and which permissions/Privileges?
Thanks a lot
i have written a script that every day creates a zfs-snapshot on my VMs and zfs send incremential snapshots of them via a ssh-tunnel to a host as a form of failsafe offline server.
My problem is that everything runs as root user and the pwds are hardcoded in that script.
I would like to create dedicated user on the receiving host that only have the permission to "zfs recev" into a dedicated VM-storage (e.g. into rpool/data/vm-100-disk-0 only)
Is that possible at all? Which type of user would i need and which permissions/Privileges?
Thanks a lot