I stand with the people of Ukraine during this heinous assault on their freedoms, their independence, and their very lives.


Firejail Sandbox Firefox

 10 Apr 2021  Snippets

Firejail Sandbox Firefox

# Firejail and X11 utilities:

sudo apt install firejail xpra xserver-xephyr
firecfg --fix-sound

Prevent processes from escalating sandbox privileges:

nano /etc/firejail/firejail.config

# change the config option below in the above file

force-nonewprivs yes 

Take ownership of firejail executable as non-root user:

chown root:paramdeo /usr/bin/firejail

sudo chmod u+s /usr/bin/firejail

Run Firefox in firejail:

firejail --private firefox -no-remote

--private — restricts the folders that Firefox can interact with to Downloads, and uses a temporary default profile that is nuked on exit

-no-remote — allows sandboxed process to spawn independently of any existing open Firefox windows

Shell alias for ease of use:

alias jailfox="firejail --private firefox -no-remote"
Webmentions & Comments

ETH Deposit Address

BTC Deposit Address

Copyright © Paramdeo Singh. Made with ☕️ in Guyana. All Rights Reserved.

Last Site Build on 18 Mar 2022

1MB Club Badge

Paramdeo Singh Guyana

Riding the wave of consciousness in this treacherous mortal sea.

Technology Design Strategy Literature Personal Blogs