切换到根用户(root) 指令为 su root 如果是第一次登陆 root 密码没有设置 是系统随机的 你就无法登陆 所以要先设置 设置指令为: sudo passwd 接下来按照提示设置密码即可 完成后试试切换到root