创建root用户 终端输入 sudo passwd root 回车 输入登录用户密码 回车 输入root密码 回车 确定root密码(在输入一次root密码) 回车 登录root用户 终端输入 su root 回车 输入密码 回车