Firejail: Standalone firejail

Created on 18 Aug 2019  路  5Comments  路  Source: netblue30/firejail

Is there any way to use firejail without install on system?

Example:
/home/my_user/firejail_stanadalone/firejail --noprofile firefox

Thank you

question

Most helpful comment

@FOSSONLY I think the command of @jisabe is only an exmaple. It can be chnage as:

/firejail_stanadalone/firejail --noprofile firefox

Many apps have official standalone versions. So why not for firejail...

I extract the deb package, and I execute the firejail binary but I get some errors. I think we problem is about dependencies which should be included inside standalone version (if a developer will package/create it).

All 5 comments

Anything is possible, but the meaning of it is not revealed to me. And in view of the fact that Firejail is ultimately supposed to increase security, it's almost criminal negligence to want to start something like this under /home. Here everything would be arbitrarily writable, and it should be very clear that Firejail is a SUID binary. You should set the file permissions accordingly to only allow root write permissions.

@FOSSONLY I think the command of @jisabe is only an exmaple. It can be chnage as:

/firejail_stanadalone/firejail --noprofile firefox

Many apps have official standalone versions. So why not for firejail...

I extract the deb package, and I execute the firejail binary but I get some errors. I think we problem is about dependencies which should be included inside standalone version (if a developer will package/create it).

./configure --prefix=/foo/bar is possible. @Fred-Barclay actually look if it is possible to provide a appimage version of firejail #2849.

./configure --prefix=/opt/firejail
make
sudo make install
sudo ln -s /opt/firejail/bin/firejail /usr/bin/firejail

Works

@jisabe
I'm closing here due to inactivity, please fell free to reopen if you have more questions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HulaHoopWhonix picture HulaHoopWhonix  路  4Comments

Vincent43 picture Vincent43  路  3Comments

reinerh picture reinerh  路  3Comments

Fincer picture Fincer  路  4Comments

polyzen picture polyzen  路  4Comments