r/programming • u/variance_explained • May 23 '17
Stack Overflow: Helping One Million Developers Exit Vim
https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/
9.2k
Upvotes
View all comments
Show parent comment
3
u/yeahbutbut May 24 '17
Yeah, visudo has a hard coded list of paths built in. You can usually use "emacs" but "emacs -nw" (or anything but the command or it's full path) will make it use the default instead of doing what could be arbitrary command execution as root.