[Home]

Summary:ASTERISK-23084: [patch]rasterisk needlessly prints the AST-2013-007 warning
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2014-01-01 14:23:02.000-0600Date Closed:2014-01-03 16:14:01.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/General
Versions:1.8.25.0 11.6.1 11.7.0 Frequency of
Occurrence
Related
Issues:
is caused byASTERISK-22905 Prevent Asterisk functions that are 'dangerous' from being executed from external interfaces
Environment:Attachments:( 0) supress_priv_esclation_warning_rasterisk.patch
Description:# asterisk -r
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.
...

# asterisk -rx ''
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.

There is no point in printing this warning in the case of a remote console. Certainly not in the case of one intended to run a command.

Attached a patch to fix it.
Comments: