From 90df300f97d52554dfe17d2ff1451f5f7ab5bd11 Mon Sep 17 00:00:00 2001 From: rusty-snake Date: Tue, 26 Feb 2019 17:34:02 +0000 Subject: Create nano.profile (#2422) * Create nano.profile * Update nano.profile, rnano.profile * rnano.profile: comment include globals.local * Update nano.profile, rnano.profile --- etc/nano.profile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 etc/nano.profile (limited to 'etc/nano.profile') diff --git a/etc/nano.profile b/etc/nano.profile new file mode 100644 index 000000000..d4855a315 --- /dev/null +++ b/etc/nano.profile @@ -0,0 +1,47 @@ +# Firejail profile for nano +# Description: nano is a easy text editor for the terminal +# This file is overwritten after every install/update +# Persistent local customizations +include nano.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.config/nano +noblacklist ${HOME}/.nanorc + +include disable-common.inc +include disable-devel.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc + +apparmor +caps.drop all +ipc-namespace +machine-id +net none +no3d +nodbus +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix +seccomp +shell none +tracelog + +# disable-mnt +private-bin nano,rnano +private-cache +private-dev +# Comment the next line if you want to edit files in /etc directly +private-etc alternatives,nanorc + +memory-deny-write-execute +noexec ${HOME} +noexec /tmp -- cgit v1.2.3-70-g09d2