A collection of scripts to use with Tomb to make life easier :) Many of these have hardcoded path or name, so be sure to check it out before using.
This is a simple post-hook script that executes on tomb 'close' action. It is made to deal with sandfox and its chroot environments.
If you use sandfox, with this script you can type a tomb close and your sandfox will be closed too, avoiding manual sandfox close action.
The sandstart goal is to automate sandfox application starts. To get the best of sandstart you can set a bash alias in your ~./bashrc file as follow:
alias thunderbird='/path/to/sandstart thunderbird'
alias firefox='/path/to/sandstart firefox'
At the moment it only supports firefox and thunderbird, but you can easily add more applications: be sure to create the sandfox profile too!
sandtomb is a modified version of sandbox. It adds support on mount point command line argument.
By hardcode, sandfox creates sandbox in /mnt/sandfox. If you use tomb and you are in an hostile enrivonment, you want to put all your files in your tomb (maybe on an external device), so leaving trace of your firefox or thunderbird usage on /mnt is not safety.
Now, you can specify --mountpoint </tomb/mount/point> so all your files will be close togheter :) Ah, and if you're wondering: yes, it will be slow. Slow, but secure. Deal with it.
A possible use of these script can be as follow:
- Configure tomb bind-hooks with firefox and/or thunderbird link
- place bind-hooks and post-hooks files in your tomb root directory
- place sandstart and sandtomb in your binary system folder, e.g. /usr/local/bin
- so finally open a terminal and type e.g. 'sandstart firefox' (or only 'firefox' if you configure the bash alias described above), so the scripts will mounts the tomb, will creates the sandbox environmnets and will executes your Firefox binary.
In order to add any applications to the sandfox method described above, you need to modify sandstart script and possibly add an alias in your bash profile.