如何更改sudo的权限

sudo:一般用来暂时使用一段root权限。但在centos中需要自己配置该文件!

具体方法是:

1,输入visudo。

2,在root  ALL=/ALL/  ALL下加入

       '用户名'   ALL=/ALL/      ALL

3,wq保存。

posted @ 2016-07-12 08:03  逆流的致爷  阅读(477)  评论(0编辑  收藏  举报