Sunday, April 28, 2024
191
rated 0 times [  191] [ 0]  / answers: 1 / hits: 411524  / 1 Year ago, wed, february 8, 2023, 2:05:48

I forgot my Ubuntu password so I booted into recovery and dropped into a root shell prompt and this is what happened:



root@username-PC:~# passwd username
Enter new UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error
passwd: password unchanged

More From » password-recovery

 Answers
0

Also make sure you are mounting the file system read/write.



After immediately selecting 'Drop into root shell prompt' I found the filesystem was mounted read only, which prevents resetting the password.



Choosing the option to remount / as read/write and going back into the root shell prompt enabled the password change.



The command to run prior to changing the password is: mount -rw -o remount /


[#41246] Thursday, February 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cretanol

Total Points: 320
Total Questions: 99
Total Answers: 115

Location: Australia
Member since Sat, May 27, 2023
1 Year ago
cretanol questions
Fri, Dec 2, 22, 13:30, 1 Year ago
Thu, Dec 8, 22, 03:00, 1 Year ago
Mon, Aug 1, 22, 03:21, 2 Years ago
Fri, Sep 24, 21, 16:28, 3 Years ago
Sun, Apr 24, 22, 06:37, 2 Years ago
;