From 0dba38435ef92ccc01cc9ff23b69df55489ec983 Mon Sep 17 00:00:00 2001 From: Tad Date: Wed, 5 Jul 2017 09:40:54 -0400 Subject: 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 --- etc/gucharmap.profile | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'etc/gucharmap.profile') 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 # Persistent customizations should go in a .local file. include /etc/firejail/gucharmap.local -private -#include /etc/firejail/disable-common.inc -#include /etc/firejail/disable-programs.inc -#include /etc/firejail/disable-passwdmgr.inc +include /etc/firejail/disable-common.inc +include /etc/firejail/disable-devel.inc +include /etc/firejail/disable-passwdmgr.inc +include /etc/firejail/disable-programs.inc caps.drop all -netfilter +no3d +nogroups nonewprivs noroot -protocol unix,inet,inet6 +nosound +novideo +protocol unix seccomp - -# -# depending on your usage, you can enable some of the commands below: -# -nogroups shell none -# private-bin program -# private-etc none -# private-dev -# private-tmp -nosound + +private +private-dev +private-tmp +disable-mnt + +noexec ${HOME} +noexec /tmp -- cgit v1.2.3-70-g09d2