Skip to content

How to run only certain applications through firejail? #6493

Closed Answered by kmk3
Raj2032 asked this question in Q&A
Discussion options

You must be logged in to vote

I believe I have to run firecfg but I don't want to run it for all
applications, was wondering what I should do just for firefox for example?

Edit /etc/firejail/firecfg.config and leave only the programs that you want
before running firecfg.

Alternatively, create a wrapper script for each program.

Example for ~/bin/firefox (make sure that ~/bin is in $PATH):

#!/bin/sh

exec firejail /usr/bin/firefox

Kind of relates to:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rusty-snake
Comment options

Answer selected by kmk3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
firecfg Anything related to firecfg and not firejail itself
3 participants