Need Haelp
When I am recovering my password through singel user mode booting, I m getting the prompt as:-
[root@localhost].. and when I type passwd there, it doesn't prompts me for new password... rather it agin gives the same prompt as [root@localhost]??? What do I do now??? Plz help!! |
What OS / version?
|
Redhat 6.0
|
Quote:
Code:
[root@localhost]# passwd root |
yes frnd I did try!!! no use .. no prompt!!!
|
Quote:
It says you're already logged in as root...try just typing in "passwd", and see if it works then. If not, you can always edit the /etc/shadow file manually. You should see a line like "root:<some string here>:1388::::::". Remove everything between the first colon ":" and the second...that's your encrypted password. Next time you log in, you won't have a password, but will have to set one. |
But Sir, I want to learn password recovery thats Y I m asking the problem.. I know the password this tym, But what about when I will appear for RHCE exam.. I will be asked to Recover Roots password Buddy.. So for that situation I m learning, the trap, I m fussed into!!!!
Plz help// Ok.. Tell me, dis.. I read smwhere that when we enter init boot after pressing b at the last step, I shud get prompt smthing like "sshs#" or smthing like thaT.. If its ryt, than Y M I getting the prompt, as I told u : "[root@localhost]#" Any help Plz.... |
Quote:
|
My purpose n query not solved.. I told U, learning for RHCE.. so DVD usage not allowed, to recover password in dat xm!!!! :(
|
Quote:
Odd. I don't see "reverse cryptographic digest" anywhere on the exam objectives. |
Quote:
Again, have you tried just typing in "passwd"? And if you don't know the root password and you have to recover it, you either boot to single user mode and edit the shadow file as I ALREADY TOLD YOU, or you boot via DVD, and do it that way. You are getting the root prompt because you're ALREADY LOGGED IN AS ROOT. So, again, type "passwd" (not "passwd root"), and try it. |
Nothing Lyk dat Sir... I already thanked u for replying but was just asking what cud I do in dat case!!! Its not like dat, I didn't like ur answer!! Infact there's evrytym newthings, I gotta learn from nebody's reply.. Thnx , but need more help from u!!! If possible for u
|
Quote:
You've been given the answer several times...how many more times do you need to be given the answers? |
Sir Again I m in a trap.. I tried ur method.. I opened up /etc/shadow file, using vim command.. and then I removed the encrypted password as u said.. but it says that
"Can't write viminfo file $HOME/. viminfo! " What to do???? Plz help |
Quote:
We'll go through this again from step one. PAY ATTENTION and ANSWER QUESTIONS
|
All times are GMT -5. The time now is 03:02 PM. |