aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <sven.vermeulen@siphos.be>2014-08-24 11:13:08 +0200
committerSven Vermeulen <sven.vermeulen@siphos.be>2014-09-21 16:03:49 +0200
commitdc28571d50d1b0a9b9332751783551b95ec30b33 (patch)
treec9eac1744b0767a150eb41a12787bc452914b887
parentFix postfix - Add smtpd as MTA (diff)
downloadhardened-refpolicy-dc28571d50d1b0a9b9332751783551b95ec30b33.tar.gz
hardened-refpolicy-dc28571d50d1b0a9b9332751783551b95ec30b33.tar.bz2
hardened-refpolicy-dc28571d50d1b0a9b9332751783551b95ec30b33.zip
Mark sysadm as a mail_role capable userdomain
-rw-r--r--policy/modules/roles/sysadm.te10
1 files changed, 7 insertions, 3 deletions
diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
index af9d2cf7..3e55c7c1 100644
--- a/policy/modules/roles/sysadm.te
+++ b/policy/modules/roles/sysadm.te
@@ -233,9 +233,9 @@ optional_policy(`
mplayer_role(sysadm_r, sysadm_t)
')
-optional_policy(`
- mta_role(sysadm_r, sysadm_t)
-')
+#optional_policy(`
+# mta_role(sysadm_r, sysadm_t)
+#')
optional_policy(`
munin_stream_connect(sysadm_t)
@@ -550,6 +550,10 @@ ifdef(`distro_gentoo',`
')
optional_policy(`
+ mail_role(sysadm_r, sysadm_t)
+ ')
+
+ optional_policy(`
rpc_admin(sysadm_t, sysadm_r)
')