标签:
sudo用户的管理是在文件:/etc/sudoers中存放的。也就是说,如果想把某个用户加入到sudo用户群里面,就需要自行配置这个文件,在读写这个文件时,需要root的权限。
[dba@oracle ~]$ sudo yum -y update
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for dba:
dba is not in the sudoers file. This incident will be reported.
[dba@oracle ~]$
标签:
原文地址:http://blog.csdn.net/huangzhijie3918/article/details/51345178