|
|
当用普通用户登陆系统,打开YAST或进入管理模式时出现的问题,找了好久都没有解决!
输入root密码后,总是提示:密码错误,请重试。
我可以肯定密码是正确的,可以用root用户进入系统。没有按错密码,试了很多遍都这样!
不知道是哪里设置不对!?请大家帮帮忙!
#############################################
在大家的帮助下,此问题已经解决!!!,谢谢大家的提示!!!
在终端,输入命令 visudo 后,进入编辑/etc/sudoers脚本,在此脚本加入以下两行:
# In the default (unconfigured) configuration, sudo asks for the root password.
# This allows use of an ordinary user account for administration of a freshly
# installed system. When configuring sudo, delete the two following lines:
Defaults targetpw # ask for the password of the target user i.e. root
ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
上边注释部分是说明原因!!!!!! |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|