0

Hello I use a Fedora 14 VM on my Macbook pro. I haven't logged into it for a while and now I have forgot its password, I am trying to see if there is a way I could retrieve my password. I have looked around on google, and all I get is how to change a root password, but I am not looking for that.

I am stuck at the initial login screen, and am trying to see if I can retrieve my password.

4

2 回答 2

2

好的,我需要的只是一点耐心。以下链接将帮助我们了解如何修改密码。

这个展示了如何编辑 root 的密码,如果有人想更改用户的密码,那么它必须是 passwd 用户名。

http://www.labtestproject.com/using_linux/step_by_step_to_reset_change_root_password_on_fedora_10

希望这可以帮助某人。

于 2012-04-26T03:36:18.953 回答
0

如果您仍然可以完全访问 grub,则可以将参数“init=/bin/sh”添加到内核参数中,然后引导系统。这将直接带您进入 shell(不询问密码)。从那里您可以轻松地修改 /etc/passwd 文件并使系统恢复工作。

于 2012-04-26T04:53:49.700 回答