Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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....
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....
One more time, SPELL YOUR WORDS OUT, that text-speak garbage isn't pleasant for anyone.
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
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
Since you appear to be a slow learner: SPELL OUT YOUR WORDS. Text-speak junk will get you nowhere fast.
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
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
Pay attention: SPELL OUT YOUR WORDS AND QUIT USING TEXT SPEAK GARBAGE. Understand that?? It's "your" not "ur", "please" not "plz". How many times do people need to tell you things????
We'll go through this again from step one. PAY ATTENTION and ANSWER QUESTIONS
Have you tried just typing in "passwd", by itself?
Have you tried typing in "/usr/bin/passwd root"?
Have you booted from CD/DVD?
After you got the message from VI, did the shadow file actually save? Have you looked??
If you're going for an RHCE....don't, until you learn to pay attention, follow instructions, and THINK about what you're doing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.