mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
dovecot: allow chroot'ing the auth processes
When using passdb/userdb not requiring root (!= /etc/shadow access) it is recommended to run the auth processes as non root and chroot'ed Signed-off-by: Simon Deziel <simon@sdeziel.info>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
capability dac_override,
|
||||
capability dac_read_search,
|
||||
capability setuid,
|
||||
capability sys_chroot,
|
||||
|
||||
/etc/my.cnf r,
|
||||
/etc/my.cnf.d/ r,
|
||||
@@ -32,6 +33,7 @@
|
||||
|
||||
/etc/dovecot/* r,
|
||||
/usr/lib/dovecot/auth mr,
|
||||
/var/lib/dovecot/auth-chroot/* r,
|
||||
|
||||
# kerberos replay cache
|
||||
/var/tmp/imap_* rw,
|
||||
|
Reference in New Issue
Block a user