LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   I am unable to log into system (https://www.linuxquestions.org/questions/fedora-35/i-am-unable-to-log-into-system-429335/)

MykeV 03-28-2006 12:57 PM

I am unable to log into system
 
I am a Newbie, so please bear with me. I just installed FC5 on a Dell GX110 system. I set the root password and created a regular user account and password. The system goes through teh rest of its setup routine and eventually presents the login screen to me. I put in the username then the password. The login fails (some how i fat fingered the password when i created it). I get an "Authentication Failed" message. I checked caps-lock and other probably keyboard mis-types but nothing works. Can someone tell me how to change a users password?

jimdaworm 03-28-2006 01:27 PM

Who are you trying to log as? Your user name? If you have forgotten your user password you can usually log in as the user root, this is the Super User. This will allow you to reset your user password.

If you can not log in and dont have the root password it might be easiest to re-install.

zeitounator 03-28-2006 01:36 PM

I suppose the login screen is the graphical one... and that you did not fat fingered the root password as well.
  • Hit Ctrl-Alt-F1. This should get you to a text console login
  • Login as root
  • type 'passwd <theusernameyourwanttochange>'
  • change the password
  • logout (type 'exit' or Ctrl-d)
  • Hit Ctrl-Alt-F7. This should get your back to the login screen (if by any chance it does not, try Ctrl-Alt-F8.... F9 ..... F10 until your see that screen again).
  • Login graphically as a normal user

Now, if you've fat fingered your root password as well, this article pretty much covers all techniques to recover from that situation.

MykeV 03-28-2006 02:53 PM

Zeitounator, Thanks for the reply. Your instructions worked well. I'm back in business. One more question for you or for anyone that might have the answer. How do i view the user accounts that have been created on the system? I wish to do this from the command prompt. The GUI way is also good to know but not preferable.

zeitounator 03-28-2006 11:30 PM

CLI:
Code:

more /etc/passwd
GUI on fedora:
Code:

system-config-users
(uncheck the 'filter system users' in preferences to see all of them)


All times are GMT -5. The time now is 10:08 PM.