vim /etc/sudoers #修改如下 # User privilege specification root ALL=(ALL:ALL) ALL mark ALL=(ALL:ALL) ALL # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL
Debian安装vim并设置代码高亮
安装
1 2
apt-get install vim
设置
1 2
vim /etc/vim/vimrc
去掉syntax on的注释
1 2 3 4 5 6 7
" Vim5 and later versions support syntax highlighting. Uncommenting the next " line enables syntax highlighting by default. syntax on
" If using a dark background within the editing area and syntax highlighting " turn on this option as well