mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
asterisk.c: Add option to restrict shell access from remote consoles.
UserNote: A new asterisk.conf option 'disable_remote_console_shell' has been added that, when set, will prevent remote consoles from executing shell commands using the '!' prefix. Resolves: #GHSA-c7p6-7mvq-8jq2
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
; deny = <command name> | all ; disallow the user to run 'command' |
|
||||
; ; disallow the user to run 'all' commands.
|
||||
;
|
||||
; NOTE: This file can't be used to restict the use of the '!' prefix
|
||||
; for running shell commands from the CLI. You can however disable the
|
||||
; use of the shell commands in remote consoles altogether by setting
|
||||
; the 'disable_remote_console_shell' parameter in asterisk.conf to 'yes'.
|
||||
;
|
||||
|
||||
[general]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user