LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Re: Redhat 6.2 root password (https://www.linuxquestions.org/questions/linux-kernel-70/re-redhat-6-2-root-password-4175454826/)

agba 03-20-2013 05:49 AM

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.

acid_kewpie 03-20-2013 06:25 AM

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.


All times are GMT -5. The time now is 08:02 PM.