我丢失了root密码,因此我遵循了these条款。使用bash-4.2#提示我可以成功更改我的root和用户密码,甚至可以访问/ home中的文件。在我重新启动并尝试登录KDE之前,Everthing似乎很好,因为它拒绝识别我刚刚设置的密码。
你可以保存这个新手并告诉我,我做错了以及如何解决这个问题?
答案 0 :(得分:0)
您没有提及您在关联页面上关注的部分。我会看看这一节:
Boot from the install or rescue CD/DVD.
Select "Rescue installed system."
Answer the prompts for language and keyboard. Starting the network is optional and not needed.
Let the rescue mode mount your file systems in the read/write mode.
Hit Enter to get the shell prompt.
At the prompt, enter the following commands. Do not enter any # mark or the text following it. These comments are shown for explanatory purposes only.
chroot /mnt/sysimage # Change to your disk file system
passwd # Change the root password
exit # Exit the chroot environment
exit # Exit the rescue mode
并按照步骤操作。我在发布之前尝试过,它的效果非常好。
希望有所帮助