1 |
commit: 8244ab45e28841bf23a9bbea0381b6a784e289b5 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sat Aug 25 17:43:02 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Sat Aug 25 17:43:02 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=8244ab45 |
7 |
|
8 |
Allow sysadmin to manage openvpn |
9 |
|
10 |
Since the openvpn init script is a named one (openvpn_initrc_exec_t) we need to |
11 |
allow sysadmin to administer the openvpn domain. Otherwise he cannot (re)start |
12 |
the init scripts easily. |
13 |
|
14 |
--- |
15 |
policy/modules/roles/sysadm.te | 4 ++++ |
16 |
1 files changed, 4 insertions(+), 0 deletions(-) |
17 |
|
18 |
diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te |
19 |
index 9e9967f..1b6274e 100644 |
20 |
--- a/policy/modules/roles/sysadm.te |
21 |
+++ b/policy/modules/roles/sysadm.te |
22 |
@@ -273,6 +273,10 @@ optional_policy(` |
23 |
') |
24 |
|
25 |
optional_policy(` |
26 |
+ openvpn_admin(sysadm_t, sysadm_r) |
27 |
+') |
28 |
+ |
29 |
+optional_policy(` |
30 |
pcmcia_run_cardctl(sysadm_t, sysadm_r) |
31 |
') |