mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
* disable-shell.inc * add disable-shell.inc to all profiles with a … … private-bin line without bash/sh except profiles with redirect profiles. * add it to some more profiles * exclude aria2c.profile
54 lines
1.1 KiB
Text
54 lines
1.1 KiB
Text
# Firejail profile for electrum
|
|
# Description: Lightweight Bitcoin wallet
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include electrum.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.electrum
|
|
|
|
# Allow python (blacklisted by disable-interpreters.inc)
|
|
include allow-python2.inc
|
|
include allow-python3.inc
|
|
|
|
include disable-common.inc
|
|
include disable-devel.inc
|
|
include disable-exec.inc
|
|
include disable-interpreters.inc
|
|
include disable-passwdmgr.inc
|
|
include disable-programs.inc
|
|
include disable-shell.inc
|
|
include disable-xdg.inc
|
|
|
|
mkdir ${HOME}/.electrum
|
|
whitelist ${HOME}/.electrum
|
|
include whitelist-common.inc
|
|
include whitelist-var-common.inc
|
|
|
|
caps.drop all
|
|
ipc-namespace
|
|
netfilter
|
|
no3d
|
|
nodvd
|
|
nogroups
|
|
nonewprivs
|
|
noroot
|
|
nosound
|
|
notv
|
|
nou2f
|
|
novideo
|
|
protocol unix,inet,inet6
|
|
seccomp
|
|
shell none
|
|
|
|
disable-mnt
|
|
private-bin electrum,python*
|
|
private-cache
|
|
?HAS_APPIMAGE: ignore private-dev
|
|
private-dev
|
|
private-etc alternatives,ca-certificates,crypto-policies,dconf,fonts,machine-id,pki,resolv.conf,ssl
|
|
private-tmp
|
|
|
|
# dbus-user none
|
|
# dbus-system none
|