sudo passwd root,

为root输入新密码,

然后输入su root 回车后,

输入刚才新建的root密码,

就进入了root用户。