{"id":533,"date":"2010-02-27T18:35:51","date_gmt":"2010-02-27T17:35:51","guid":{"rendered":"http:\/\/www.gennard.net\/blog\/?p=533"},"modified":"2010-02-27T18:35:51","modified_gmt":"2010-02-27T17:35:51","slug":"pogoplug-passwd-cannot-update","status":"publish","type":"post","link":"http:\/\/www.gennard.net\/blog\/2010\/02\/pogoplug-passwd-cannot-update\/","title":{"rendered":"passwd: cannot update password file \/etc\/shadow"},"content":{"rendered":"<p>Okay.. I got my <a href=\"http:\/\/www.pogoplug.com\">pogoplug<\/a> last week and I have been playing around with it and it is now time to change the root password&#8230; so guess what happened&#8230;<\/p?\n<code lang=\"bash\"><br \/>\nbash-3.2# passwd<br \/>\nChanging password for root<br \/>\nNew password:<br \/>\nRetype password:<br \/>\npasswd: cannot update password file \/etc\/shadow<br \/>\nbash-3.2#<br \/>\n<\/code><\/p>\n<p>The good news, the file system is read-only, so it was pretty simple to work around, just use mount&#8230;<\/p>\n<p><code lang=\"bash\"><br \/>\nbash-3.2# mount -o rw,remount \/<br \/>\n-bash-3.2# passwd<br \/>\nChanging password for root<br \/>\nNew password:<br \/>\nRetype password:<br \/>\nPassword for root changed by root<br \/>\n-bash-3.2# mount -o ro,remount \/<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; so guess what happened&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[223],"_links":{"self":[{"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/posts\/533"}],"collection":[{"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/comments?post=533"}],"version-history":[{"count":0,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/posts\/533\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/media?parent=533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/categories?post=533"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/tags?post=533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}