[asterisk-bugs] [Asterisk 0011123]: [patch] Implement asterisk CLI permissions.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Oct 31 14:49:00 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11123 
====================================================================== 
Reported By:                eliel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11123
Category:                   Core-General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 87627 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-30-2007 13:50 CDT
Last Modified:              10-31-2007 14:49 CDT
====================================================================== 
Summary:                    [patch] Implement asterisk CLI permissions.
Description: 
Restrict users to run only a subset of commands allow (configured by an
administrator).
You need write access to the asterisk.ctl socket file.
This is useful when you need to allow run commands on the asterisk CLI to
some users for support purposes also is a secure manner to prevent commands
like 'restart now' or 'stop now' being executed by mistake. 
====================================================================== 

---------------------------------------------------------------------- 
 eliel - 10-31-07 14:49  
---------------------------------------------------------------------- 
New patch added against revision r87889
This new patch solves a problem while doing a 'asterisk -rx "command"' the
problem was that my read_credentials() sometimes was reading the 'command'
as the CREDENTIALS message and it was not executed. Now it is solved
because only 12 bytes will be read by read_credentials().
Thanks to qwell for tell me to test that command and sorry for the bug
(upsss). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-31-07 14:49  eliel          Note Added: 0072849                          
======================================================================




More information about the asterisk-bugs mailing list