From ca2c55b5632a1bbd2e6b2e5562cd010d506405ca Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Mon, 4 Mar 2019 22:29:15 +0000 Subject: Add new profile for gnome-schedule (#2499) * Create gnome-schedule.profile * Add gnome-schedule configs to disable-programs.inc * Add gnome-schedule to firecfg * mkfile and whitelist changes for gnome-schedule --- etc/gnome-schedule.profile | 77 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 etc/gnome-schedule.profile (limited to 'etc/gnome-schedule.profile') diff --git a/etc/gnome-schedule.profile b/etc/gnome-schedule.profile new file mode 100644 index 000000000..d856c1f83 --- /dev/null +++ b/etc/gnome-schedule.profile @@ -0,0 +1,77 @@ +# Firejail profile for gnome-schedule +# Description: Graphical interface to crontab and at for GNOME +# This file is overwritten after every install/update +# Persistent local customizations +include gnome-schedule.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.gnome/gnome-schedule + +# Needs at and crontab to read/write user cron +noblacklist ${PATH}/at +noblacklist ${PATH}/crontab + +# Needs access to these files/dirs +noblacklist /etc/cron.allow +noblacklist /etc/cron.deny +noblacklist /etc/shadow +noblacklist /var/spool/cron + +# Needs a terminal for cron job test execution +noblacklist ${PATH}/lxterminal +noblacklist ${PATH}/gnome-terminal +noblacklist ${PATH}/gnome-terminal.wrapper +noblacklist ${PATH}/lilyterm +noblacklist ${PATH}/mate-terminal +noblacklist ${PATH}/mate-terminal.wrapper +noblacklist ${PATH}/pantheon-terminal +noblacklist ${PATH}/roxterm +noblacklist ${PATH}/roxterm-config +noblacklist ${PATH}/terminix +noblacklist ${PATH}/tilix +noblacklist ${PATH}/urxvtc +noblacklist ${PATH}/urxvtcd +noblacklist ${PATH}/xfce4-terminal +noblacklist ${PATH}/xfce4-terminal.wrapper + +# Allow python (disabled by disable-interpreters.inc) +noblacklist ${PATH}/python2* +noblacklist ${PATH}/python3* +noblacklist /usr/lib/python2* +noblacklist /usr/lib/python3* + +include disable-common.inc +include disable-devel.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc + +mkfile ${HOME}/.gnome/gnome-schedule +whitelist ${HOME}/.gnome/gnome-schedule +include whitelist-common.inc + +apparmor +caps.keep chown,dac_override,setgid,setuid +ipc-namespace +machine-id +net none +no3d +nodvd +nogroups +nosound +notv +nou2f +novideo +shell none +tracelog + +disable-mnt +private-cache +private-dev +# private-etc alternatives +writable-var + +noexec ${HOME} +noexec /tmp -- cgit v1.2.3-70-g09d2