vi修改方向键冲突
vi /etc/vim/vimrc.tiny
找到set compatible改为set nocompatible
添加set backspace=2
普通用户添加sudo权限
su root
chmod u+w /etc/sudoers
vi /etc/sudoers
#root下面添加
root ALL=(ALL) ALL
#xxx是用户名
xxx ALL=(ALL) ALL
chmod u-w /etc/sudoers
ssh开启root远程登陆
vi /etc/ssh/sshd_config
#添加
PermitRootLogin yes
#重启服务
/etc/init.d/ssh restart