{"id":2172,"date":"2012-08-12T11:59:42","date_gmt":"2012-08-12T11:59:42","guid":{"rendered":"http:\/\/www.dognmonkey.com\/techs\/?p=2172"},"modified":"2012-10-10T16:36:33","modified_gmt":"2012-10-10T16:36:33","slug":"reset-users-password-in-lion-10-7-x","status":"publish","type":"post","link":"https:\/\/www.dognmonkey.com\/techs\/reset-users-password-in-lion-10-7-x.html","title":{"rendered":"Reset Users Password In Lion 10.7.x"},"content":{"rendered":"<p style=\"text-align: center;\"><em>When I downgraded from Mountain Lion 10.8 to 10.7.4 (installed 10.7.4 over 10.8), the password for my root or user name were wiped out, they need to be reset with new password, the catch is I can&#8217;t login, I can&#8217;t change my password.\u00a0<\/em><\/p>\n<p style=\"text-align: center;\"><a class=\"preview\" title=\"reset password Lion 10.7.4\" href=\"\/media\/macosx\/ml2lion\/sm_nologin.JPG\" rel=\"lightbox[ml2lion]\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"reset password Lion 10.7.4\" src=\"\/media\/macosx\/ml2lion\/tn_nologin.JPG\" alt=\"\" width=\"250\" height=\"141\" \/><\/a>\u00a0\u00a0\u00a0\u00a0\u00a0 <a class=\"preview\" title=\"reset password in single mode -s\" href=\"\/media\/macosx\/ml2lion\/sm_resetpassword.JPG\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"reset password in single mode -s\" src=\"\/media\/macosx\/ml2lion\/tn_resetpassword.JPG\" alt=\"\" width=\"250\" height=\"141\" \/><\/a><\/p>\n<p style=\"text-align: left;\"><em>1. Use myHackLionInstaller to boot from, click tab while booting (counting down) to get to verbos menu. Select myHack installer partition and type -v -s<\/em><\/p>\n<p style=\"text-align: left;\"><em>2. At the Single mode version: type the 2 lines just like it shows:<\/em><\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em>root# \/sbin\/fsck -fy<\/em><\/p>\n<p style=\"text-align: left;\"><em>root# \/sbin\/mount -uw \/\u00a0 (must have the forward slash just like the sample).<\/em><\/p>\n<p style=\"text-align: left;\"><em>root# launchctl load \/System\/Library\/LaunchDaemons\/com.apple.opendirectoryd.plist<\/em><\/p>\n<p style=\"text-align: left;\"><em>root# ls \/Users\u00a0 (to see how many users and their account names).<\/em><\/p>\n<p style=\"text-align: left;\"><em>root# passwd dognmonkey (my account name).<\/em><\/p>\n<p style=\"text-align: left;\"><em>new password:<\/em><\/p>\n<p style=\"text-align: left;\"><em>verify new password:<\/em><\/p>\n<p style=\"text-align: left;\"><em>bash# exit (we&#8217;re done).<\/em><\/p>\n<p style=\"text-align: left;\"><em>logout (and auto boot to the partition)<\/em><\/p>\n<\/blockquote>\n<p style=\"text-align: center;\"><em>Now we can log in with the new password.<\/em><\/p>\n<p style=\"text-align: center;\"><em><ul class=\"lcp_catlist\" id=\"lcp_instance_0\"><\/ul><br \/>\n<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I downgraded from Mountain Lion 10.8 to 10.7.4 (installed 10.7.4 over 10.8), the password for my root or user name were wiped out, they need to be reset with new password, the catch is I can&#8217;t login, I can&#8217;t change my password.\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0 1. Use myHackLionInstaller to boot from, click tab while booting (counting <a href=\"https:\/\/www.dognmonkey.com\/techs\/reset-users-password-in-lion-10-7-x.html\" class=\"more-link\">&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,11,14],"tags":[114,166,167],"class_list":["post-2172","post","type-post","status-publish","format-standard","hentry","category-lion-10-7x","category-mountain-lion-10-8x","category-snow-leopard-10-6x","tag-lion","tag-reset-root-password","tag-reset-user-password"],"views":1262,"_links":{"self":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/2172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/comments?post=2172"}],"version-history":[{"count":2,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/2172\/revisions"}],"predecessor-version":[{"id":2634,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/2172\/revisions\/2634"}],"wp:attachment":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/media?parent=2172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/categories?post=2172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/tags?post=2172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}