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 2F24813800E for ; Sat, 11 Aug 2012 19:01:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FB26E05D7; Sat, 11 Aug 2012 19:01:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 038C9E05D7 for ; Sat, 11 Aug 2012 19:01:27 +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 5CB811B4015 for ; Sat, 11 Aug 2012 19:01:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 48F46E544E for ; Sat, 11 Aug 2012 19:01:24 +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: <1344711631.9bb7d10186faa77d1f4d9e9ac80f7b125294f6b6.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: 9bb7d10186faa77d1f4d9e9ac80f7b125294f6b6 X-VCS-Branch: master Date: Sat, 11 Aug 2012 19:01:24 +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: 03bdc42a-c6cd-41c8-ae0e-4bb435fafd7b X-Archives-Hash: 0408e5f9d79f6a3690d36765c1692840 commit: 9bb7d10186faa77d1f4d9e9ac80f7b125294f6b6 Author: Sven Vermeulen siphos be> AuthorDate: Sat Aug 11 19:00:31 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sat Aug 11 19:00:31 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=9bb7d101 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) ')