6.4.5. Problems When You Try to Log In

6.4.5. Problems When You Try to Log In

If you did not create a user account in the Setup Agent, 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.

Itanium users must enter boot commands with elilo followed by the boot command.

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:

	http://hardware.redhat.com/hcl/

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.