diff options
author | Tad <tad@spotco.us> | 2017-07-05 09:40:54 -0400 |
---|---|---|
committer | Tad <tad@spotco.us> | 2017-08-02 00:13:42 -0400 |
commit | 0dba38435ef92ccc01cc9ff23b69df55489ec983 (patch) | |
tree | dfd1d8db02f579183fa77acdbde9aa315596220f /etc/gucharmap.profile | |
parent | x11/xpra support (diff) | |
download | firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.tar.gz firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.tar.zst firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.zip |
Harden profiles
- Added 'disable-devel.conf' to many profiles
- Added 'disable-mnt' to many profiles
- Added 'noexec' to many profiles
- Removed 'netfilter' and 'net none' from profiles with 'protocol unix'
- Cleaned up profiles using defaults
Diffstat (limited to 'etc/gucharmap.profile')
-rw-r--r-- | etc/gucharmap.profile | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/etc/gucharmap.profile b/etc/gucharmap.profile index 929888e88..bc5d7dddf 100644 --- a/etc/gucharmap.profile +++ b/etc/gucharmap.profile | |||
@@ -5,25 +5,26 @@ include /etc/firejail/globals.local | |||
5 | # Persistent customizations should go in a .local file. | 5 | # Persistent customizations should go in a .local file. |
6 | include /etc/firejail/gucharmap.local | 6 | include /etc/firejail/gucharmap.local |
7 | 7 | ||
8 | private | 8 | include /etc/firejail/disable-common.inc |
9 | #include /etc/firejail/disable-common.inc | 9 | include /etc/firejail/disable-devel.inc |
10 | #include /etc/firejail/disable-programs.inc | 10 | include /etc/firejail/disable-passwdmgr.inc |
11 | #include /etc/firejail/disable-passwdmgr.inc | 11 | include /etc/firejail/disable-programs.inc |
12 | 12 | ||
13 | caps.drop all | 13 | caps.drop all |
14 | netfilter | 14 | no3d |
15 | nogroups | ||
15 | nonewprivs | 16 | nonewprivs |
16 | noroot | 17 | noroot |
17 | protocol unix,inet,inet6 | 18 | nosound |
19 | novideo | ||
20 | protocol unix | ||
18 | seccomp | 21 | seccomp |
19 | |||
20 | # | ||
21 | # depending on your usage, you can enable some of the commands below: | ||
22 | # | ||
23 | nogroups | ||
24 | shell none | 22 | shell none |
25 | # private-bin program | 23 | |
26 | # private-etc none | 24 | private |
27 | # private-dev | 25 | private-dev |
28 | # private-tmp | 26 | private-tmp |
29 | nosound | 27 | disable-mnt |
28 | |||
29 | noexec ${HOME} | ||
30 | noexec /tmp | ||