linux終端下解決you need to be root to perform this command


在linux 終端執行某條命令時 提示以下錯誤

you need to be root to perform this command
提示操作要獲取root權限

解決方法:

輸入su 回車輸入密碼

忘記密碼或未設置密碼

執行sudo passwd 進行密碼重置設定再輸入su獲取root權限


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM