LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 03-20-2013, 05:49 AM   #1
agba
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Re: Redhat 6.2 root password


I could not log in as root, due to 'access denied' error. I tried to edit the GRUB boot in single user mode, and change the root password but got this message: "passwd: Authentication token manipulation error". Any solution to resolve this, please? I have looked through a few posts but none has got it resolved. Thanks.
 
Old 03-20-2013, 06:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,374

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
if you're really in single user mode / runlevel 1... passwd should work... Is the system functional other than that? Can you run passwd via sudo as a normal user? "[user@host ~] # sudo passwd"

token manipulation says that *maybe* the actual entry in /etc/shadow is broken? Maybe you can post the contents of the file? You can delete the password from the file by changing

Code:
root:$X$SK5xfLB1ZW:0:0...
to

Code:
root::0:0...
and saving it.
 
  


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
Not able to change the password of root in redhat 6. pinga123 Linux - Newbie 2 04-02-2012 03:55 AM
How to reset root password for Redhat machine AndyWoung Linux - Server 1 10-25-2010 10:54 AM
Redhat 9 root login password jmzcons Linux - Software 1 02-27-2005 04:30 PM
Redhat 9.0 install problem - root password saintcrew Linux - General 5 07-06-2003 12:19 PM
lost root password for RedHat 8.0 box josephswagner Linux - General 2 04-16-2003 12:10 PM


All times are GMT -5. The time now is 11:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration