Hello,
My ultimate goal is to vzdump a VM over SSH using a non-root user.
I have searched and tried for some time now but did not manage to find a working solution.
I have created a user named vzdumper via useradd and, for now, added him to the Administrator role.
However, when I login with this user and run
When I run the same command as root it works just fine.
I have also tried to to set read-permissions on /etc/pve/user.cfg because of the
So my question is: Is it even possible to run vzdump as a normal, non-root user? Or am I doing something wrong?
Thanks.
My ultimate goal is to vzdump a VM over SSH using a non-root user.
I have searched and tried for some time now but did not manage to find a working solution.
I have created a user named vzdumper via useradd and, for now, added him to the Administrator role.
However, when I login with this user and run
vzdump 100 --mode snapshot --compress gzip
I get the following error:
Code:
vzdumper@remoteserver:~# vzdump 104 --compress gzip
ipcc_send_rec[1] failed: Is a directory
ipcc_send_rec[2] failed: Is a directory
ipcc_send_rec[3] failed: Is a directory
Unable to load access control list: Is a directory
When I run the same command as root it works just fine.
I have also tried to to set read-permissions on /etc/pve/user.cfg because of the
Unable to load access control list
error. But that gives me just another error:
Code:
root@remoteserver /etc/pve# chmod 644 user.cfg
chmod: changing permissions of 'user.cfg': Operation not permitted
So my question is: Is it even possible to run vzdump as a normal, non-root user? Or am I doing something wrong?
Thanks.