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

問題:我想在我的Linux系統上使用sudo來運行一些特權命令,然而當我試圖這么做時,我卻得到了 我的用戶名 is not in the sudoers file. This incident will be reported. 的錯誤信息。我該怎么處理這種sudo錯誤呢 sudo是一個允許特定的用戶組用另一個用戶 典型的是root 的特權來運行一個命令。sudo有詳細的日志功能,並且提供了對用戶 ...

2018-03-27 20:26 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
Linux下is not in the sudoers file解決方法

最近在學習linux,在某個用戶(xxx)下使用sudo的時候,提示以下錯誤xxx is not in the sudoers file. This incident will be reported。 百度了下,究其原因是用戶沒有加入到sudo的配置文件里。 解決 ...

Mon Jan 09 17:29:00 CST 2017 0 25345
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM