centos congfiute guide

sudo make install這一步的時候出現xxx is not in the sudoers file. This incident will be reported的錯誤,原來是linux默認沒有開啓sudo權限,解決方法: #su - #chmod u+w /etc/sudoers #visudo 在root ALL=(ALL) ALLZ下 添加xxx ALL=(ALL) ALL 而後按esc鍵,再輸入:wq!保存退出 #chmod u-w /etc/sudoers 問題解決!
相關文章
相關標籤/搜索