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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 1 12:52:11 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11123 
====================================================================== 
Reported By:                eliel
Assigned To:                otherwiseguy
====================================================================== 
Project:                    Asterisk
Issue ID:                   11123
Category:                   Core/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for review
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 118464 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2007-10-30 13:50 CDT
Last Modified:              2008-12-01 12:52 CST
====================================================================== 
Summary:                    [branch] 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. 
====================================================================== 

---------------------------------------------------------------------- 
 (0095644) svnbot (reporter) - 2008-12-01 12:52
 http://bugs.digium.com/view.php?id=11123#c95644 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 160062

U   trunk/CHANGES
A   trunk/configs/cli_permissions.conf.sample
U   trunk/configure
U   trunk/configure.ac
U   trunk/include/asterisk/_private.h
U   trunk/include/asterisk/autoconfig.h.in
U   trunk/include/asterisk/cli.h
U   trunk/main/asterisk.c
U   trunk/main/cli.c

------------------------------------------------------------------------
r160062 | eliel | 2008-12-01 12:52:09 -0600 (Mon, 01 Dec 2008) | 13 lines

Introduce CLI permissions.
Based on cli_permissions.conf configuration file, we are able to permit or
deny
cli commands based on some patterns and the local user and group running
rasterisk.

(Sorry if I missed some of the testers).

Reviewboard: http://reviewboard.digium.com/r/11/

(closes issue http://bugs.digium.com/view.php?id=11123)
Reported by: eliel
Tested by: eliel, IgorG, Laureano, otherwiseguy, mvanbaak


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=160062 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-01 12:52 svnbot         Note Added: 0095644                          
======================================================================




More information about the asterisk-bugs mailing list