Replies: 2 comments 2 replies
-
|
Personally I can So yes, I can see the added value of such a (1) Firejail Winter Of Code: Strictly non-sponsored, small-scale, cozy, and uplifting virtual code gatherings of the Peoples Of The Firejail Tribes. Rumours have it these soon-to-become-popular events started sometime during the COVID-19 pandemics of the 21st Century at undisclosed locations throughout the InterNets. Counter-balancing the chilling effects of social isolation was typically achieved by consuming several jars of home-made libsoup while dangling head-down from the nearest living tree - a crude reference to the bat populations blamed to have started this global mess. |
Beta Was this translation helpful? Give feedback.
-
|
FTR using one of the following commands should not trigger the warning:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
The idea came when reading the following thread:
@kmk3 commented on Dec 7:
@rusty-snake commented on Dec 7:
Rationale
Non-whitelisting profiles do not adequately protect against things like
echo evil >~/.someshellrc, which makes them much less secure thanwhitelisting profiles. I'd wager that there may be many firejail users not
fully aware of this. Additionally, it is not made very apparent when a profile
is blacklisting vs whitelisting when running firejail (you'd probably have to
look at least into the main profile being used to be sure).
Proposal
When nothing in
${HOME}is whitelisted, how about printing a warning whenfirejail is started? Example:
The url could point to a wiki page explaining how to harden profiles through
whitelisting.
Note: There are a few similar messages, but for not blacklisting:
Thoughts?
Cc: @netblue30
Beta Was this translation helpful? Give feedback.
All reactions