From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Mon, 28 May 2012 12:22:32 +0200 Subject: [refpolicy] [PATCH 2/2] Allow sysadm_r role to call wpa_cli In-Reply-To: <20120528102102.GA10112@siphos.be> References: <20120528102102.GA10112@siphos.be> Message-ID: <20120528102232.GC10112@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