Thursday, May 2, 2024
191
rated 0 times [  191] [ 0]  / answers: 1 / hits: 411528  / 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
;