您的位置:首页 > 运维架构

Authentication token manipulation error for ubuntu ubuntu-16.04.1-desktop-amd64

2016-11-10 10:11 323 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: