2015年9月12日 星期六

RHEL7 解決不能 sudo


錯誤訊息:[username] is not in the sudoers file. This incident will be reported.

解決方法:切換到root後,編輯/etc/sudoers這個唯讀檔,找到下圖root這行,並在下面新增一行,儲存或離開記得加上驚嘆號才能操作


沒有留言:

張貼留言