{"id":24,"date":"2007-10-05T00:03:05","date_gmt":"2007-10-05T07:03:05","guid":{"rendered":"http:\/\/www.reisun.org\/?p=24"},"modified":"2007-10-05T00:03:05","modified_gmt":"2007-10-05T07:03:05","slug":"close-call-with-colinux","status":"publish","type":"post","link":"https:\/\/www.reisun.org\/?p=24","title":{"rendered":"Close call with CoLinux"},"content":{"rendered":"<p>I had a close call with CoLinux. I tried to change my shell as root to \/bin\/tcsh, but misspelled it to \/bn\/tcsh. Now I couldnt log in as root to fix it! The only solution, as I found out by googling, was to reboot the image in single user mode (run level 1) and edit the \/etc\/passwd file manually. The only trouble was, how to run colinux images in runlevel 1? The following is a snippet of code to put in the .conf file that is specified when colinux is started.<\/p>\n<p>cobd0=&#8221;c:\\coLinux\\Debian.ext3&#8243;<br \/>\n# boot into single user mode<br \/>\n# cobd0=&#8221;c:\\coLinux\\Debian.ext3&#8243; 1<\/p>\n<p>whew! The lesson learned is to not change root&#8217;s default shell!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a close call with CoLinux. I tried to change my shell as root to \/bin\/tcsh, but misspelled it to \/bn\/tcsh. Now I couldnt log in as root to fix it! The only solution, as I found out by googling, was to reboot the image in single user mode (run level 1) and edit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.reisun.org\/index.php?rest_route=\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reisun.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reisun.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reisun.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reisun.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24"}],"version-history":[{"count":0,"href":"https:\/\/www.reisun.org\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.reisun.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reisun.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reisun.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}