ubantu下su命令Authentication failure失敗的解決方式

Ubuntu安裝後,root用戶默認是被鎖定了的,不容許登陸,也不容許 su 到 root 。
能夠使用:ubuntu

sudo passwdvim

來從新設置root密碼,後便可登錄root。code

ortonwu@ubuntu:/etc/vim$ sudo passwd
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
相關文章
相關標籤/搜索