{"id":181,"date":"2004-09-10T09:36:33","date_gmt":"2004-09-10T15:36:33","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=181"},"modified":"2004-09-10T09:36:33","modified_gmt":"2004-09-10T15:36:33","slug":"slackware-to-the-rescue","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/181","title":{"rendered":"Slackware to the rescue"},"content":{"rendered":"<p>I bought a new Windows laptop computer about nine months ago, to replace my linux desktop that I purchased in 2000.  Yesterday, I needed to check to see if I had a file or two on the old desktop computer, but I hadn&#8217;t logged in for eight months; I had no idea what my password was.  Now, I should have a <a href='http:\/\/www.toms.net\/rb\/'>root\/boot disk set<\/a>, even though <a href='http:\/\/story.news.yahoo.com\/news?tmpl=story&amp;cid=528&amp;e=1&amp;u=\/ap\/20040906\/ap_on_hi_te\/floppy_death'>floppy disks<\/a> are going the way of <a href='http:\/\/donnayoung.org\/pen\/bigcursive.htm'>cursive<\/a>.  But I didn&#8217;t.  Instead, I had the <a href='http:\/\/www.slackware.com\/'>slackware<\/a> installation disks from my first venture into linux: a IBM PS\/2, with 60 meg of hard drive space, in 1997.  I was able to use those disks to load a working, if spartan, linux system into RAM.  Then, I mounted the boot partition and used <a href='http:\/\/www.gnu.org\/software\/sed\/sed.html'>sed<\/a> (vi being unavailable) to edit the shadow file: <\/p>\n<p><code>sed 's\/root:[^:]*:\/root::\/' shadow &gt; shadow.new<\/code><br \/>\n<code>mv shadow.new shadow<\/code><\/p>\n<p>Unmount the partition, reboot, pop the floppy out, and I&#8217;m in to find that pesky file.  As far as I know, those slackware install disks are the oldest bit of software that I own that still is useful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I bought a new Windows laptop computer about nine months ago, to replace my linux desktop that I purchased in 2000. Yesterday, I needed to check to see if I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}