Backintime KDE as root with ssh / key based login w/o password

Bug #1276348 reported by Germar on 2014-02-04
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released

Bug Description


thank you for this great tool! I'm used to use backintime with ssh and key based authorization, with no password set on the key.

This does work still for a non-root account, but for a root account it does not work as the setup tries to save the password.

However, with an empty password there is no need to save, nor to cache etc. a password.

What I would recommend is to add a check-box 'key with no password' or just don't try to save when the password string is empty.

The reason I set up systems this way and not as a user account is that at the moment I set up the system there is no other user then root, the owner of the system set up his own account.

Having backintime backing up /home it will automatically catch the user account plus is able to save /etc, /boot, /var/log - which enables me to help in case something happens.

Any ideas how to get this running as root the described way? Or do I have to change the code?

greetings kai

Germar (germar) on 2014-02-04
Changed in backintime:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.0.36
assignee: nobody → Germar (germar)
Germar (germar) wrote :

Please try out attached patch with 'sudo patch /usr/bin/backintime-kde4 < backintime-kde4.diff'

Changed in backintime:
status: Triaged → Fix Committed
Sparhawk (sparhawkthesecond) wrote :

This fix seems good to me.

I use Arch, so I had to modify things slightly. The patch failed for me, since Arch uses python 3 by default. Hence, the patched target has the post-patch line as `python2`, not `python`. I could manually patch the file though. Also, I had to create the fuse group (it doesn't exist in Arch) and add myself to it.

sudo groupadd fuse
sudo usermod -aG fuse root

Thanks for the fix!

Andrew (publicface) wrote :

That fixed it! Thank you!!!

Germar (germar) on 2014-08-06
Changed in backintime:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers