diff options
author | David M. Lee <dlee@digium.com> | 2013-12-17 14:41:59 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-12-17 14:41:59 +0000 |
commit | 27f37f6e3df6de123a8af8096303d71bebcb180d (patch) | |
tree | a3783f757c1f44f23038b14a6af4863c8a3bb190 | |
parent | f257293f043162d6d5f732f0886595511deb3f74 (diff) |
Changed the default for live_dangerously to no
........
Merged revisions 404006 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | configs/asterisk.conf.sample | 2 | ||||
-rw-r--r-- | main/asterisk.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configs/asterisk.conf.sample b/configs/asterisk.conf.sample index f7cda268f..985c80c28 100644 --- a/configs/asterisk.conf.sample +++ b/configs/asterisk.conf.sample @@ -88,7 +88,7 @@ documentation_language = en_US ; Set the language you want documentation ; etc.) These functions (such as SHELL) are ; considered dangerous because they can allow ; privilege escalation. - ; Default yes, for backward compatability. + ; Default no ; Changing the following lines may compromise your security. ;[files] diff --git a/main/asterisk.c b/main/asterisk.c index 3ed085d28..d06509516 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -3332,8 +3332,8 @@ static void ast_readconfig(void) unsigned int dbdir:1; unsigned int keydir:1; } found = { 0, 0 }; - /* Default to true for backward compatibility */ - int live_dangerously = 1; + /* Default to false for security */ + int live_dangerously = 0; /* Set default value */ option_dtmfminduration = AST_MIN_DTMF_DURATION; |