Ubuntu使用su切换 root 报错:Authentication failure用户时认证失败
Ubuntu使用su切换 root 报错Authentication failure用户时认证失败。默认没有激活root用户,因此需手动激活,操作,然后再使用su命令才可以。输入如下代码,设置root密码。
·
问题:

Ubuntu使用su切换 root 报错Authentication failure用户时认证失败
原因:
因为Ubuntu系统默认没有激活root用户,因此需手动激活,操作,然后再使用su命令才可以
解决方法:
输入如下代码,设置root密码
sudo passwd root

更多推荐



所有评论(0)