aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-02 12:53:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-02 12:53:32 -0300
commitc28b98d31d88beaae5b3a23fe8bb1696b0c60c71 (patch)
tree7e086312db2179bb3c6a8d3845592ce52fa0147f
parent3e4fc727f27bef43b268946c48eebd9fff75a2da (diff)
downloadprofile-c28b98d31d88beaae5b3a23fe8bb1696b0c60c71.tar.gz
profile-c28b98d31d88beaae5b3a23fe8bb1696b0c60c71.tar.bz2
Feat: adds custom less.profile
-rw-r--r--config.dot/firejail/less.profile.link51
1 files changed, 51 insertions, 0 deletions
diff --git a/config.dot/firejail/less.profile.link b/config.dot/firejail/less.profile.link
new file mode 100644
index 0000000..f33a0e1
--- /dev/null
+++ b/config.dot/firejail/less.profile.link
@@ -0,0 +1,51 @@
+# Firejail profile for less
+# Description: Pager program similar to more
+# This file is overwritten after every install/update
+quiet
+# Persistent local customizations
+include less.local
+# Persistent global definitions
+include globals.local
+
+blacklist ${RUNUSER}
+
+noblacklist ${HOME}/.lesshst
+
+include disable-devel.inc
+include disable-exec.inc
+include disable-interpreters.inc
+include disable-passwdmgr.inc
+
+apparmor
+caps.drop all
+ipc-namespace
+machine-id
+net none
+no3d
+nodvd
+nonewprivs
+#noroot
+nosound
+notv
+nou2f
+novideo
+protocol unix
+seccomp
+shell none
+tracelog
+x11 none
+
+# The user can have a custom coloring script configured in ${HOME}/.lessfilter.
+# Enable private-bin and private-lib if you are not using any filter.
+# private-bin less
+# private-lib
+#private-cache
+private-dev
+writable-var-log
+
+dbus-user none
+dbus-system none
+
+memory-deny-write-execute
+read-only ${HOME}
+read-write ${HOME}/.lesshst