| 1 |
# This file is overwritten during software install. |
| 2 |
# Persistent customizations should go in a .local file. |
| 3 |
include hasher-common.local |
| 4 |
|
| 5 |
# common profile for hasher/checksum tools |
| 6 |
|
| 7 |
blacklist ${RUNUSER} |
| 8 |
|
| 9 |
# Comment/uncomment the relevant include file(s) in your hasher-common.local |
| 10 |
# to (un)restrict file access for **all** hashers. Another option is to do this **per hasher** |
| 11 |
# in the relevant <hasher>.local. Beware that things tend to break when overtightening |
| 12 |
# profiles. For example, because you only need to hash/check files in ${DOWNLOADS}, |
| 13 |
# other applications may need access to ${HOME}/.local/share. |
| 14 |
|
| 15 |
# Add the next line to your hasher-common.local if you don't need to hash files in disable-common.inc. |
| 16 |
#include disable-common.inc |
| 17 |
include disable-devel.inc |
| 18 |
include disable-exec.inc |
| 19 |
include disable-interpreters.inc |
| 20 |
# Add the next line to your hasher-common.local if you don't need to hash files in disable-programs.inc. |
| 21 |
#include disable-programs.inc |
| 22 |
include disable-shell.inc |
| 23 |
include disable-write-mnt.inc |
| 24 |
# Add the next line to your hasher-common.local if you don't need to hash files in disable-xdg.inc. |
| 25 |
#include disable-xdg.inc |
| 26 |
|
| 27 |
apparmor |
| 28 |
caps.drop all |
| 29 |
ipc-namespace |
| 30 |
machine-id |
| 31 |
net none |
| 32 |
no3d |
| 33 |
nodvd |
| 34 |
nogroups |
| 35 |
noinput |
| 36 |
nonewprivs |
| 37 |
noroot |
| 38 |
nosound |
| 39 |
notv |
| 40 |
nou2f |
| 41 |
novideo |
| 42 |
protocol unix |
| 43 |
seccomp |
| 44 |
seccomp.block-secondary |
| 45 |
tracelog |
| 46 |
x11 none |
| 47 |
|
| 48 |
# Add the next line to your hasher-common.local if you don't need to hash files in ~/.cache. |
| 49 |
#private-cache |
| 50 |
private-dev |
| 51 |
private-etc |
| 52 |
# Add the next line to your hasher-common.local if you don't need to hash files in /tmp. |
| 53 |
#private-tmp |
| 54 |
|
| 55 |
dbus-user none |
| 56 |
dbus-system none |
| 57 |
|
| 58 |
memory-deny-write-execute |
| 59 |
read-only ${HOME} |
| 60 |
restrict-namespaces |