linux给用户赋予root权限

1、到/etc目录下

2、使用 vi sudoers

3、将username添加到sudoers

 

 

posted @ 2019-11-13 17:25  苗士军  阅读(905)  评论(0编辑  收藏  举报