rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] standalone rdiff-backup executable ? Hasanyone


From: roland
Subject: Re: [rdiff-backup-users] standalone rdiff-backup executable ? Hasanyone looked at this ?
Date: Fri, 14 Jul 2006 20:39:25 +0200


testbox:/tmp/cx_Freeze-3.0.2 # python FreezePython.py  /usr/bin/rdiff-backup
---snipp---
Frozen binary /tmp/cx_Freeze-3.0.2/rdiff-backup created.
Done.

testbox:/tmp/cx_Freeze-3.0.2 # ./rdiff-backup
Fatal Error: No arguments given
See the rdiff-backup manual page for more information.

seems to work!
nice tip, thanks! ;)

regards
roland

----- Original Message ----- From: "Ensel Sharon" <address@hidden>
To: "roland" <address@hidden>
Cc: <address@hidden>
Sent: Friday, July 14, 2006 4:13 PM
Subject: Re: [rdiff-backup-users] standalone rdiff-backup executable ? Hasanyone looked at this ?




On Thu, 13 Jul 2006, roland wrote:

perhaps you could explain why you need to run rdiff-backup chrooted ?
maybe, there are other ways  to workaround your "problem" !?


Because these particular users will only be allowed to run rdiff-backup
over ssh.  They can do nothing else (no interactive login, etc.) - because
the chroot is so tight and restrictive, it is a bad idea to give a general
purpose interpretor like python there.  Bottom line, I didn't architect it
or specify the requirements - they were handed to me.  Standalone
rdiff-backup.  The end.


> It looks like cx_freeze is used to create standalone executables from
> python programs ...
i`m not sure, but will any python compiler (or whatever) create _real_
standalone executables ?


I'm pretty sure that is what they do, I've just never used them and wanted
to do a sanity check first.  Has anyone done this ?

Thanks.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]