From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9CF8D1381F4 for ; Mon, 13 Aug 2012 19:29:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5838021C058; Mon, 13 Aug 2012 19:28:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 29CA421C058 for ; Mon, 13 Aug 2012 19:28:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8799E1B400A for ; Mon, 13 Aug 2012 19:28:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9C130E544C for ; Mon, 13 Aug 2012 19:28:05 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1344885619.73792172a5c86da2b7ade9a16a575aee75a63677.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/roles/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/roles/sysadm.te X-VCS-Directories: policy/modules/roles/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 73792172a5c86da2b7ade9a16a575aee75a63677 X-VCS-Branch: master Date: Mon, 13 Aug 2012 19:28:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 423fb486-883e-4ee4-a796-c0c51627fbe0 X-Archives-Hash: 4d9a517739baa4032e8f52873dff2233 commit: 73792172a5c86da2b7ade9a16a575aee75a63677 Author: Sven Vermeulen siphos be> AuthorDate: Sat Aug 11 19:00:31 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Mon Aug 13 19:20:19 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=73792172 Allow sysadm to be postfix admin To allow administration of postfix, sysadm_t needs to be able to execute the common administrative commands (like postfix or postqueue) and interact with the postfix master daemon (through socket). --- policy/modules/roles/sysadm.te | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te index aa562c0..c7f603e 100644 --- a/policy/modules/roles/sysadm.te +++ b/policy/modules/roles/sysadm.te @@ -286,6 +286,12 @@ optional_policy(` ') optional_policy(` + postfix_exec_master(sysadm_t) + postfix_exec_postqueue(sysadm_t) + postfix_stream_connect_master(sysadm_t) +') + +optional_policy(` pyzor_role(sysadm_r, sysadm_t) ')