使用su - root出现Authentication failure

使用su - root出现

Password:

su: Authentication failure

原因:ubtun系统默认是没有激活root用户的

解决方法:

输入命令:sudo passwd root

显示

Enter new UNIX password:

Retype new UNIX password:

passwd: password updated successfully

注意:

(Enter new UNIX password: )不能和(Password: )输入的相同,如果相同则会出现

Sorry, passwords do not match

passwd: Authentication token manipulation error

passwd: password unchanged

时间: 2024-08-08 01:24:07

使用su - root出现Authentication failure的相关文章

Ubuntu linux系统下su:出现: authentication failure的解决办法

一些问题解决的办法并不是很麻烦,但如果找不到办法,就会一直拖着那里浪费时间,所以如果刚好能有一篇文章解决此问题,就可以节约大家很多时间. 在新装的ubuntu 系统下面, 我是14.0.4 不知道其它系统会不会是同样问题. 输入su命令获取root权限时, 出现了authentication failure 的问题,即身份验证失败.需要进行下面操作: sudo passwd root Enter new UNIX password: //此时输入你的密码 Retype new UNIX pass

ubuntu输入su命令显示 Authentication failure解决

由于ubuntu系统默认是没有激活root用户的,需要手动激活: 终端下输入: sudo passwd Password:你当前的密码 Enter new UNIX password:这个是root的密码 Retype new UNIX password:重复root的密码 即可成功. 注:使用su和sudo是有区别的,使用su切换用户需要输入所切换到的用户的密码,而使用sudo则是当前用户的密码.

ubuntu 突然不能 sudo成功,报错su: Authentication failure

通过查看日志: /var/log/auth.log 报错: su[9959]: PAM unable to dlopen(pam_rootok.so): /lib/security/pam_rootok.so: cannot open shared object file: No such file or directory su[9959]: PAM adding faulty module: pam_rootok.so su[9959]: PAM unable to dlopen(pam_u

Ubuntu下su:authentication failure的解决办法

$ su - rootPassword: su: Authentication failureSorry. 这时候输入 $ sudo passwd rootEnter new UNIX password: Retype new UNIX password: passwd: password updated successfully 这时候就可以进入根目录了. Ubuntu下su:authentication failure的解决办法,布布扣,bubuko.com

Ubuntu su: Authentication failure

[email protected]:~$ su - root Password: su: Authentication failure 修改密码: $ sudo passwd root Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully 重新su - root 就OK了.

linux使用su切换用户提示 Authentication failure的解决方法& 复制文件时,报cp: omitting directory `XXX'

linux使用su切换用户提示 Authentication failure的解决方法:这个问题产生的原因是由于ubtun系统默认是没有激活root用户的,需要我们手工进行操作,在命令行界面下,或者在终端中输入如下命令: sudo passwd Password:你当前的密码 Enter new UNIX password:这个是root的密码Retype new UNIX password:重复root的密码然后会提示成功的信息. 在说明一点,使用su和sudo是有区别的,使用su切换用户需要

linux使用su切换用户提示 Authentication failure的解决方法

刚刚安装的虚拟机,使用的ubtun系统,进如操作系统后,简单地尝试了一下,发现无法使用shutdown命令进行关机,并且无法进行su命令,提示 Authentication failure 这个问题产生的原因是由于ubtun系统默认是没有激活root用户的,需要我们手工进行操作,在命令行界面下,或者在终端中输入如下命令: sudo passwd Password:你当前的密码 Enter new UNIX password:这个是root的密码 Retype new UNIX password:

su: authentication failure 解决方法

在Linux上切换root时,密码正确..但提示:su: authentication failure ->sudo passwd ->Password:你当前的密码 ->Enter new UNIX password:这个是root的密码 ->Retype new UNIX password:重复root的密码 然后会提示成功的信息.  使用su和sudo是有区别的,使用su切换用户需要输入所切换到的用户的密码,而使用sudo则是当前用户的密码. 原文地址:https://www

Ubuntu14.04 切换root账户su root失败解决办法

原因是需要备份一个vimrc,可是cp就提示Permission denied. su root就提示su: Authentication failure 解决办法: sudo passwd root ******(输入原先的root口令) ******(输入新的root口令,可以保持原样.我就保持的原样) ******(再次输入新的root口令) ------------------------------- 但我不知道为什么