linux使用su切换用户提示 Authentication failure的解决方法
2012-10-13 22:04
896 查看
这个问题产生的原因是由于ubtun系统默认是没有激活root用户的,需要我们手工进行操作,在命令行界面下,或者在终端中输入如下命令:
sudo passwd
Password:你当前的密码
Enter new UNIX password:这个是root的密码
Retype new UNIX password:重复root的密码
然后会提示成功的信息。
在说明一点,使用su和sudo是有区别的,使用su切换用户需要输入所切换到的用户的密码,而使用sudo则是当前用户的密码。
sudo passwd
Password:你当前的密码
Enter new UNIX password:这个是root的密码
Retype new UNIX password:重复root的密码
然后会提示成功的信息。
在说明一点,使用su和sudo是有区别的,使用su切换用户需要输入所切换到的用户的密码,而使用sudo则是当前用户的密码。
相关文章推荐
- linux使用su切换用户提示:Authentication failure的解决方法
- linux使用su切换用户提示 Authentication failure的解决方法& 复制文件时,报cp: omitting directory `XXX'
- linux使用su切换用户提示 Authentication failure的解决方法
- linux使用su切换用户提示 Authentication failure的解决方法
- linux使用su切换用户提示 Authentication failure的解决方法
- linux使用su切换用户提示 Authentication failure的解决办法
- linux su切换用户提示 Authentication failure的解决方法
- linux普通用户su root切换提示没有文件或目录的解决方法
- Linux 使用su切换到root时提示:Authentication failure
- [已解决]su 切换用户,提示:“密码不正确”;更改passwd权限后,又提示:“cannot set groups: Operation not permitted”
- Linux 使用su - root切换到root提示su: Authentication failure
- linux 下普通用户无法使用sudo命令的解决方法
- 使用sudo提示用户不在sudoers文件中的解决方法
- linux sudoers修改导致不能在终端使用sudo 和su的解决方法
- Linux学习之路——使用su用户身份无法切换的问题
- Linux中切换用户变成-bash4.1-$的解决方法
- Linux禁止普通用户使用su 切换到root 用户(并且禁止root ssh登录)
- Linux中切换用户变成-bash4.1-$的解决方法
- Linux中切换用户变成-bash4.1-$的解决方法
- Linux系统下禁止非WHEEL用户使用SU命命的两种实现方法