Besides our Windows virtual machines, we run some linux VM's (RHEL,SuSE) as well. Our company security guidelines doesn't allow us to login directly with root to a linux system via ssh, we have to login with a non-root-permission account and make a sudo to root after login.
The problem is, if I want to make a single file restore for a linux virtual machine, I'm confronted with the same problem. As soon as I want to restore the file to the linux system, I have to type in the credentials. But root credentials dont work for direct ssh login, so I have to use my non-root-permissions user, but this user hasn't the permission to restore some of the files because he has no root user permissions. What do I have to do, to address this issue? Allow direct root login is not a selectable variant.