chenwx@chenwx-virtual-machine:~$ su Password: su: Authentication failure //切換失敗 chenwx@chenwx-virtual-machine:~$ sudo passwd root //修改密碼 [sudo] passwo ...
chenwx@chenwx-virtual-machine:~$ su Password: su: Authentication failure //切換失敗 chenwx@chenwx-virtual-machine:~$ sudo passwd root //修改密碼 [sudo] password for chenwx: //用戶密碼,也就是你的登機密碼 Enter new UNIX password: Retype new UNIX password: //輸入兩次密碼 passwd: password updated successfully //修改成功 chenwx@chenwx-virtual-machine:~$ su Password: root@chenwx-virtual-machine:/home/chenwx# //切換成功