centos爲用戶添加sudo功能

su chmod a+w /etc/sudoers vim /etc/sudoers [找到root ALL=(ALL) ALL這行] 複製出新的一行,而且將root改成daniel(當前用戶名) chmod 0440 /etc/sudoers exit    轉載於:https://www.cnblogs.com/long123king/p/3760601.htmlhtml
相關文章
相關標籤/搜索