无法在 ubuntu 中访问超级用户
Can't access super user in ubuntu
我正尝试以超级用户身份登录我的 Ubuntu 终端,但终端显示 "Cannot execute :No such file or directory"
终端输出:
gowtham@gowtham:~$ sudo su
[sudo] password for gowtham:
Cannot execute gowtham: No such file or directory
gowtham@gowtham:~$
其中 "gowtham" 是我的用户名。
您的密码文件可能有误。尝试编辑它:
sudo nano /etc/passwd
编辑自:
root:x:0:0:root:/root:somerandomfile
至
root:x:0:0:root:/root:/bin/bash
我正尝试以超级用户身份登录我的 Ubuntu 终端,但终端显示 "Cannot execute :No such file or directory"
终端输出:
gowtham@gowtham:~$ sudo su
[sudo] password for gowtham:
Cannot execute gowtham: No such file or directory
gowtham@gowtham:~$
其中 "gowtham" 是我的用户名。
您的密码文件可能有误。尝试编辑它:
sudo nano /etc/passwd
编辑自:
root:x:0:0:root:/root:somerandomfile
至
root:x:0:0:root:/root:/bin/bash