1. 将某个用户x添加到sudoer列表中
root 权限
visudo
在
## Allow root to run any commands anywhere root ALL=(ALL) ALL
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
之后添加 x ALL=(ALL) ALL
wq保存退出即可
2.退出ssh登陆
exit
【学习记录】linux中问题解决方法记录
原文:http://www.cnblogs.com/ma-mama/p/7599338.html