Fedora Core 4: forgot my user and pass

Vampirrella

Golden Member
Apr 5, 2001
1,211
0
71
I am a complete Linux n00b and got myself into the following mess:

Last august I was playing around with Fedora core 4 on a low end system i had put together. At some point I was done with playing around and put it aside for a while and now i wanted to fire it back up again. Its been a good 5 months and now im sitting here at the login screen and totally dont remember what user / pass i used.

Is there a way to even see what Username i was using? That might spark my memory on what pass i used at the time.

Thx in advance! :)

 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
When the grub screen comes up hit e on the kernel you're booting, scroll to the end and add 'init=/bin/bash' but without the quotes. It should then bootup and give you a root prompt, you can type 'cat /etc/passwd' to see a list of users. If you want to change the password of one of the users type 'mount -o remount,rw' to make sure the root filesystem is read-write and then 'passwd <username>'.