passwd: cannot update password file /etc/shadow

Okay.. I got my pogoplug last week and I have been playing around with it and it is now time to change the root password… so guess what happened…
bash-3.2# passwd
Changing password for root
New password:
Retype password:
passwd: cannot update password file /etc/shadow
bash-3.2#

The good news, the file system is read-only, so it was pretty simple to work around, just use mount…


bash-3.2# mount -o rw,remount /
-bash-3.2# passwd
Changing password for root
New password:
Retype password:
Password for root changed by root
-bash-3.2# mount -o ro,remount /

This entry was posted in pogoplug and tagged . Bookmark the permalink.