1. 将某个用户x添加到sudoer列表中

  root 权限

visudo

  在

## Allow root to run any commands anywhere

root    ALL=(ALL)       ALL

  之后添加 x  ALL=(ALL)       ALL

wq保存退出即可

 

 

2.退出ssh登陆

exit

posted on 2017-09-26 22:22  独步倾城  阅读(100)  评论(0编辑  收藏  举报