To allow users to run backintime. I am usually running backintime-kde on ubuntu in the following way:
sudo su ssh-agent bash backintime-kde4 --config /root/.config/backintime/config --profile-id 1
This is the only way I found which was working on my system. In particular
will not work.
I would like to allow ordinary users who do not have permissions to run
sudo su to execute backintime as well. Can I somehow create a shell-script from the commands which can be executed by any user such that he has to enter at most his own password (and maybe that of the ssh-key).
Please do not suggest alternate ways of running backintime. I merely search a method equivalent to the one described above (such that backintime operates in the same tested way). However the user should be able to run it without being able to obtain general root privileges.