From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Wed, 20 Jun 2012 17:54:10 +0200 Subject: [refpolicy] [PATCH v2 2/2] Allow sysadm_r role to call wpa_cli In-Reply-To: <20120620155211.GB7987@siphos.be> References: <20120620155211.GB7987@siphos.be> Message-ID: <20120620155410.GD7987@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Allow system administrators to run wpa_cli to interact with wpa_supplicant. Signed-off-by: Sven Vermeulen --- policy/modules/roles/sysadm.te | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te index bd5a2ea..3c74fcb 100644 --- a/policy/modules/roles/sysadm.te +++ b/policy/modules/roles/sysadm.te @@ -241,6 +241,10 @@ optional_policy(` ') optional_policy(` + networkmanager_run_wpa_cli(sysadm_t, sysadm_r) +') + +optional_policy(` netutils_run(sysadm_t, sysadm_r) netutils_run_ping(sysadm_t, sysadm_r) netutils_run_traceroute(sysadm_t, sysadm_r) -- 1.7.3.4