From: Christian Hesse Date: Mon, 23 Nov 2015 18:31:00 +0000 (+0100) Subject: vimrc: add warning about dangerous exrc mode X-Git-Tag: v229~285^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1d075ff06de4d0cbf99acd36f0fcadd50d221be;p=thirdparty%2Fsystemd.git vimrc: add warning about dangerous exrc mode --- diff --git a/.vimrc b/.vimrc index b802c908f26..d8020f34046 100644 --- a/.vimrc +++ b/.vimrc @@ -1,4 +1,8 @@ " 'set exrc' in ~/.vimrc will read .vimrc from the current directory +" Warning: Enabling exrc is dangerous! You can do nearly everything from a +" vimrc configuration file, including write operations and shell execution. +" You should consider setting 'set secure' as well, which is highly +" recommended! set tabstop=8 set shiftwidth=8 set expandtab