On Wednesday 24 November 2004 13:18, Mera Mottaleb wrote:
Hi,
This is my first time ever using Linux. I have just installed Fedora
Core 2. During installation, I put in the password for the admin using
the number keys on the right, with the num lock key on.
After installation when I try to login using the username:
administrator and the password I created, with the num lock key on, I
get a message saying that user name or the password is not correct. By
the way I tried it with the num lock key off too.
This was my second installation. First time when I had the same
problem, I thought I had put in the wrong password, so the second time
when I installed it, I made sure that I was using the right password.
Is it possible to change the admin password or to do anything that will
prevent me from reinstalling?
Thanks
Mera
Boot into single user mode, then run passwd command.
To get into single user mode, you will have to reboot and then interrupt grub
by pressing something other than ENTER. Press 'e' to edit the entry. Go down
to the kernel line and append 'single' to the line. Press ENTER to leave edit
mode. Press 'b' to boot the changed entry.
Once the system has booted to a command prompt you can then run the passwd
command and effectively change the root password.
Once you have changed the root password, key in 'exit' to continut into the
default runlevel.