當(dāng)前位置:首頁(yè) > IT技術(shù) > 系統(tǒng)服務(wù) > 正文

Authentication token manipulation error for ubuntu ubuntu-16.04.1-desktop-amd64
2021-08-10 18:51:47

https://ubuntuforums.org/showthread.php?t=1772894

?

Hi,

I faced the same problem when I tried to recover my Ubuntu password following the tutorial on:

http://www.psychocats.net/ubuntu/resetpassword

Looking for a solution, I read and try all the stuff from other forums where mainly they diagnose problems of inconsistency between /etc/shadow and /etc/passwd files, but that was not the problem. The problem was that the system was started as read only, so the passwd command cannot modify the above mentioned files. The solution was very simple. I ran the following command:

# mount -rw -o remount /

Then I just executed the passwd command with the corresponding username and it worked as charm. Try this before anything else. I hope it saves some time for somebody else.

本文摘自 :https://blog.51cto.com/u

開(kāi)通會(huì)員,享受整站包年服務(wù)立即開(kāi)通 >