10.4.5. Problems When You Try to Log In
If you did not create a user account in the firstboot screens, switch to a console by pressing Ctrl+Alt+F2, log in as root and use the password you assigned to root.
If you cannot remember your root password, boot your system as
linux single
.
If you are using an x86-based system and GRUB is your installed boot loader, type
e
for edit when the GRUB boot screen has loaded. You are presented with a list of items in the configuration file for the boot label you have selected.
Choose the line that starts with
kernel
and type e
to edit this boot entry.
At the end of the
kernel
line, add:
single
Press Enter to exit edit mode.
Once the boot loader screen has returned, type
b
to boot the system.
Once you have booted into single user mode and have access to the
#
prompt, you must type passwd root
, which allows you to enter a new password for root. At this point you can type shutdown -r now
to reboot the system with the new root password.
If you cannot remember your user account password, you must become root. To become root, type
su -
and enter your root password when prompted. Then, type passwd <username>
. This allows you to enter a new password for the specified user account.
If the graphical login screen does not appear, check your hardware for compatibility issues. The Hardware Compatibility List can be found at:
https://hardware.redhat.com/