Click to See Complete Forum and Search --> : Cant login as root
toolshed
12-01-2001, 02:35 PM
I just installed RH7.2 from d/w iso. I have installed about 3 times, and my root password never works.....
I am new to RH, i am using it to serve a webserver....I previously have been using Suse7.2.
I can login in as a user but not as root....is there a special way to login in as root in RH...I cant figure this out....and it makes me mad.
Is there a way to change it....root password that is .
nycon
12-01-2001, 02:53 PM
I've never used RH but you might want to try this.
Login as your user then type su when it asks for a password enter your root password.
This is what it looks like on my Mandrake 8.1 box.
[nycon@zebra /]$ su
password: (type password here)
[root@zebra /]#
Hope this helps
Nycon
:D :eek: :rolleyes: :)
toolshed
12-01-2001, 03:45 PM
yeah.....i have done all that...its like the password is corrupted or something....
Strike
12-01-2001, 04:30 PM
remember that passwords are case sensitive, make sure your caps lock is not on
asymblor
12-01-2001, 05:00 PM
greets,
Yes there is another option, It's called single user mode. Here's how to get root in case of an emergency.
on booting to the RetHat screen where on a fresh install you would be presentd with the gui selection with "linux" in the list do this:
ctrl+x
the screen will then go black with the word boot: in the upper left hand corner.
type in at this boot prompt linux single.
this will get you to the root shell. ;-)
now you will be presented with a prompt as follows:
sh-2.04#
now enter the passwd command
sh-2.04#passwd
you will then be prompted for your shiny new UNIX password, now retype it at the prompt. And then if all goes well it will say the pswd has been updated.
Now to get to you GUI interface if you use one..at the shell parompt ude the init command using run level 5.
like this:
sh-2.04#init 5
you should now go to your gui login 8-)
Try logging in as root with the password you selected and you should be cool, if not ya better pray to Tux for help because you have some problems I can't handle :-P
Good Luck,
asymblor