-1
我試圖登錄到我的Ubuntu終端作爲超級用戶訪問超級用戶,但終端說,來自終端"Cannot execute :No such file or directory"
無法在Ubuntu
輸出:
[email protected]:~$ sudo su
[sudo] password for gowtham:
Cannot execute gowtham: No such file or directory
[email protected]:~$
其中「的Gowtham」是我的用戶名。
我不知道是怎麼回事,但你可以得到你想要的效果用'sudo -i'。 – skyler
我嘗試了sudo -i, ,但終端說 「找不到命令」 – Gowtham
檢查爲root用戶設置了什麼默認shell:cat/etc/passwd。也許設置一個不存在的默認shell「gowtham」,因此無法執行。 – mnille