LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2012, 01:25 AM   #16
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295

Hi,

Thanks, I'm still puzzled about why it doesn't work in RHEL 6 but does so without any problem in RHEL 6.2. There has been a similar thread here on LQ which didn't shed any light but confirms the issue. If you paid for a subscription then try contacting Red Hat support and see what they have to say about it.

Kind regards,

Eric
 
Old 02-27-2012, 01:26 AM   #17
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by schrodingore View Post
hmm notabley doing a
cat /usr/bin/passwd
screws up your command line :-P
Hi,

That's because you're trying to 'cat' a binary file. That would screw up your terminal indeed , so don't do it. To get it 'cleaned up', type CTRL-C until you get a normal prompt and then run
Code:
reset
in the same terminal to get rid of the mess.

Kind regards,

Eric
 
Old 02-27-2012, 01:32 AM   #18
schrodingore
LQ Newbie
 
Registered: Feb 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
Alrighty
I'll try and figure out if we are paying for support, if I am I'll try contacting them. Didn't realize CentOS was very RHish

I also saw this while I was researching the issue

http://bugs.centos.org/view.php?id=5142

Same bug as mine on CentOS

Thanks for taking the time to help me with this.
 
Old 02-27-2012, 01:37 AM   #19
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Great! CentOS is a 'RHEL clone' aiming to be 100% binary compatible with RHEL. CentOS basically only removes branding and artwork. Nice catch on the bug. And you're welcome for the help, that's what LQ is all about, helping others with Linux. Since you were able to change the password, following the suggestion made by deep27ak, I guess your problem is solved. If you consider it so, then please mark your thread as solved.

Kind regards,

Eric
 
Old 12-19-2012, 11:15 AM   #20
danielftl
LQ Newbie
 
Registered: Oct 2003
Location: San Francisco
Distribution: RedHat Linux Enterprise 6
Posts: 3

Rep: Reputation: 0
Red Hat Linux Enterprise 6 (RHEL root password recovery)

Hi All,

I have RedHat Enterprise Linux 6 running on a VMWARE Player. I had not started the VM in a long time and could not remember the password. I want you to know that I did boot into single-user mode (others have already described how to do this), and then I did the

password -d root
reboot

I was then able to login with root without using a password and then when I got logged in, I set the password for the root account and then logged out and rebooted without any issues. Once I had root, I was able to change the password on my user account.

Thanks for the site, the thread, and this tip.

Please let me know if you have any questions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Access to Single User Mode or Emergency Mode Pinglu Linux - Newbie 3 10-17-2011 01:25 PM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM
cannot change linux passwd from user mode sudarsh Linux - Software 9 09-09-2009 08:45 PM
single user mode under vxfs mode enabled. UltraSoul Solaris / OpenSolaris 1 06-27-2009 09:48 PM
Single User mode isolvesystems Linux - Newbie 5 10-03-2007 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration