Install with:
#xbps-install sandfox
The second part Configuration and use of this post still is relevant.
I feel it is essential for your safety to run your browser in a sandbox.
I use sandfox for that.
Here is how I installed Sandfox in Void Linux
First check if you have what you need:
#xbps-install lsof inotify-tools wgetIf this is OK, we can download it
$ wget https://github.com/IgnorantGuru/sandfox/raw/master/sandfoxThis gave me a file called sandfox
Install with
$sudo install sandfox /usr/bin/sandfoxIt should be executable ; if you encounter problems check this.
Configuration and use
Make a folder for your browser downloads, for example /home/user/sf_downloadEnable this in your sandfox configuration by editing /etc/sandfox/firefox.profile; in the section home folders add a line with
bind=/home/$user/sf_downloadNow you can create and start using the sandbox by doing:
$sudo sandfox firefoxAvoid having to give your root password each time you start sandfox:
Add a line (change user name of course) in your sudoers file:
paul ALL=(ALL) NOPASSWD: /usr/bin/sandfox
by doing
#EDITOR=nano visudoand editing (nano commands: ctrl+o and enter to write and ctrl+x and enter to exit).
You can also add to your /home/paul/.bashrc the line:
alias firefox='sudo sandfox firefox'
For more options and scenarios see this link .
No comments:
Post a Comment