If you did not create a user account in the firstboot screens, log in as root and use the password you assigned to root.
如果您没有记住根口令,您需要把系统引导为 linux single
。
如果您使用的是基于 x86 的系统,GRUB 是您所安装的引导装载程序,载入了 GRUB 引导屏幕后,键入 e
来编辑。您会看到您所选定的引导标签的配置文件中的项目列表。
选择以 kernel
开始的行并输入 e
来编辑这个启动项。
在 kernel
行的结尾处,添加:
single
Press Enter to exit edit mode.
Once the boot loader screen has returned, type b
to boot the system.
当您启动到单一用户模式并获得了 #
提示符后,您需要输入 passwd root
,它允许您为根用户输入一个新口令。然后,您可以输入 shutdown -r now
来使用新的根用户口令重新启动这个系统。
如果您忘记了您的用户帐号口令,您必须变成根用户。要变成根用户,键入 su -
,在提示后输入根口令,然后键入 passwd <username>
。这将会允许您为某一指定的用户帐号输入一个新口令。
If the graphical login screen does not appear, check your hardware for compatibility issues. Linuxquestions.org maintains a Hardware Compatibility List at:
http://www.linuxquestions.org/hcl/index.php