2018-09-27 07:18:54 +01:00
|
|
|
# firejail
|
|
|
|
|
|
|
|
> Securely sandboxes processes to containers using built-in Linux capabilities.
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://manned.org/firejail>.
|
2018-09-27 07:18:54 +01:00
|
|
|
|
|
|
|
- Integrate firejail with your desktop environment:
|
|
|
|
|
|
|
|
`sudo firecfg`
|
|
|
|
|
|
|
|
- Open a restricted Mozilla Firefox:
|
|
|
|
|
|
|
|
`firejail {{firefox}}`
|
|
|
|
|
|
|
|
- Start a restricted Apache server on a known interface and address:
|
|
|
|
|
|
|
|
`firejail --net={{eth0}} --ip={{192.168.1.244}} {{/etc/init.d/apache2}} {{start}}`
|
|
|
|
|
|
|
|
- List running sandboxes:
|
|
|
|
|
|
|
|
`firejail --list`
|
|
|
|
|
|
|
|
- List network activity from running sandboxes:
|
|
|
|
|
|
|
|
`firejail --netstats`
|
|
|
|
|
|
|
|
- Shutdown a running sandbox:
|
|
|
|
|
|
|
|
`firejail --shutdown={{7777}}`
|