welcome to my blog sudo pass, 按回车,输入当前账号的密码,接着会显示Enter new UNIX password, 此时就是在设置root账号的密码, 如下图所示 进入root账号, 执行su, 回车后输入root账号的密码即可