2014-07-12 31 views
0

我丢失了root密码,因此我遵循these指示。使用bash-4.2#提示符,我可以成功更改我的root和用户密码,甚至可以在/ home中访问我的文件。 Everthing似乎很好,直到我重新启动并尝试登录到KDE,因为它拒绝识别我刚设置的密码。密码更改后无法在Fedora 20(VM)登录到KDE

你能保存这个新手并告诉我我做错了,如何解决这个问题?

+0

尝试询问http://unix.stackexchange.com这是一个编程问题的网站。 –

回答

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 

并按照步骤操作。我在发布之前尝试过它,它的工作出色。

希望可以帮到