原文:linux遇到xxx is not in the sudoers file.This incident will be reported的問題

Linux中普通用戶用sudo執行命令時報 xxx is not in the sudoers file.This incident will be reported 錯誤,解決方法就是在 etc sudoers文件里給該用戶添加權限。 如下: .切換到root用戶下方法為直接在命令行輸入:su,然后輸入密碼 即你的登錄密碼,且密碼默認不可見 。 . etc sudoers文件默認是只讀的,對ro ...

2020-03-02 14:36 1 5122 推薦指數:

查看詳情

linux解決“XXX is not in the sudoers file”錯誤

問題:我想在我的Linux系統上使用sudo來運行一些特權命令,然而當我試圖這么做時,我卻得到了"[我的用戶名] is not in the sudoers file. This incident will be reported."的錯誤信息。我該怎么處理這種sudo錯誤呢? sudo是一個 ...

Wed Mar 28 04:26:00 CST 2018 0 3543
Linux中“is not in the sudoers file”解決方法

當在終端執行sudo命令時,系統提示“kongbursi is not in the sudoers file”: 其實就是沒有權限進行sudo,解決方法如下(用戶名是kongbursi): ...

Mon May 31 05:51:00 CST 2021 0 323
Linux中“is not in the sudoers file”解決方法

當在終端執行sudo命令時,系統提示“hadoop is not in the sudoers file”: 其實就是沒有權限進行sudo,解決方法如下(這里假設用戶名是cuser): 1.切換到超級用戶:$ su 2.打開/etc/sudoers文件:$vim /etc/sudoers ...

Mon Feb 26 23:54:00 CST 2018 0 29299
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM