/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This directory contains secret client key files.
mandos-client binary: non-standard-dir-perm etc/keys/mandos/ 0700 != 0755

# The directory /usr/lib/<arch>/mandos/plugins.d contains setuid
# binaries which are only meant to be run inside an initial RAM disk
# environment (except for test purposes).  It would be insecure to
# allow anyone to run them.
mandos-client binary: non-standard-dir-perm usr/lib/*/mandos/plugins.d/ 0700 != 0755
# Likewise for helper executables for plugins
mandos-client binary: non-standard-dir-perm usr/lib/*/mandos/plugin-helpers/ 0700 != 0755

# These binaries must be setuid root, since they need root powers, but
# are started by plugin-runner(8mandos), which runs all plugins as
# user/group "_mandos".  These binaries are never run in a running
# system, but only in an initial RAM disk environment.  Here they are
# protected from non-root access by the directory permissions, above.
mandos-client binary: elevated-privileges usr/lib/*/mandos/plugins.d/mandos-client 4755 root/root
mandos-client binary: elevated-privileges usr/lib/*/mandos/plugins.d/askpass-fifo 4755 root/root
mandos-client binary: elevated-privileges usr/lib/*/mandos/plugins.d/splashy 4755 root/root
mandos-client binary: elevated-privileges usr/lib/*/mandos/plugins.d/usplash 4755 root/root
mandos-client binary: elevated-privileges usr/lib/*/mandos/plugins.d/plymouth 4755 root/root

# The directory /etc/mandos/plugins.d can be used by local system
# administrators to place plugins in, overriding and complementing
# /usr/lib/<arch>/mandos/plugins.d, and must be likewise protected.
mandos-client binary: non-standard-dir-perm etc/mandos/plugins.d/ 0700 != 0755
# Likewise for plugin-helpers directory
mandos-client binary: non-standard-dir-perm etc/mandos/plugin-helpers/ 0700 != 0755

# The debconf templates is only used for displaying information
# detected in the postinst, not for saving answers to questions, so we
# don't need a .config file.
mandos-client binary: no-debconf-config

# The notice displayed from the postinst script really is critical
mandos-client binary: postinst-uses-db-input

# These are very important to work around bugs or changes in the old
# versions, and there is no pressing need to remove them.
mandos-client binary: maintainer-script-supports-ancient-package-version *