Allow sysadm to interact with asterisk
When administering asterisk, one often ran command is "asterisk -r" which yields the asterisk CLI (when the asterisk server is running). To be able to run this, you need asterisk_stream_connect privileges. Assign these privileges to the sysadm_r Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
This commit is contained in:
parent
458ab7d2ba
commit
ecf83667ab
|
@ -85,6 +85,10 @@ optional_policy(`
|
|||
apt_run(sysadm_t, sysadm_r)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
asterisk_stream_connect(sysadm_t)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
auditadm_role_change(sysadm_r)
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue