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.
yeah,
1. I tried typing in "passwd" but failed!!
2. I tried typing in "/usr/bin/passwd root", but I failed!!!!
3. It is not A\allowing me to save that file or write that file instead!!!
well, post creator, very first thing please give appropriate title for your posts like "unable to recover password(rhel6.0)" which can help readers to understand nature of your problem. Second thing Please try to provide more details, like operations system vendor version etc. Nobody can help you without complete information. Solution for your problem is to disable selinux before you change your root password, use this command when you switch over to single user mode # setenforce 0 only after this you can reset your root password in rhel6.
Thank you
Pushkar
Last edited by pix9; 08-30-2011 at 03:40 PM.
Reason: typo
yeah,
1. I tried typing in "passwd" but failed!!
2. I tried typing in "/usr/bin/passwd root", but I failed!!!!
3. It is not A\allowing me to save that file or write that file instead!!!
whatta do?
Again, spell out your words...."whatta do"...really??
And saying "but failed!" tells us NOTHING. WHAT HAPPENED? What did the screen say? What were the results?? Again, you need to either boot from CD/DVD, and reset the password from there, or you need to boot to single-user mode by typing in an "S" in the Grub menu. If you're already in single-user mode, you reset the password from there.
And are you running a 'real' machine or a virtual machine? If it's virtual, then selinux will come into play.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.