aboutsummaryrefslogtreecommitdiffstats
path: root/etc/server.profile
blob: 94e2d5da9eb9e53434e4a11f935a3a05786b4e2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Firejail profile for server
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/server.local
# Persistent global definitions
include /etc/firejail/globals.local

# generic server profile
# it allows /sbin and /usr/sbin directories - this is where servers are installed
# depending on your usage, you can enable some of the commands below:

blacklist /tmp/.X11-unix

noblacklist /sbin
noblacklist /usr/sbin
# noblacklist /var/opt

include /etc/firejail/disable-common.inc
# include /etc/firejail/disable-devel.inc
# include /etc/firejail/disable-interpreters.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

caps
# ipc-namespace
# netfilter /etc/firejail/webserver.net
no3d
# nodbus
nodvd
# nogroups
# nonewprivs
# noroot
nosound
notv
novideo
seccomp
# shell none

# disable-mnt
private
# private-bin program
# private-cache
private-dev
# private-etc none
# private-lib
private-tmp

# memory-deny-write-execute
# noexec ${HOME}
# noexec /tmp