Geek Posted August 24, 2011 Posted August 24, 2011 <div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2011/08/reset-mac-password-os-x-lion.jpg" alt="Reset a Mac OS X Lion Password" title="reset-mac-password-os-x-lion" width="517" height="265" class="aligncenter size-full wp-image-20584" /></p> <p>One of several changes to Mac OS X Lion is how resetting passwords is handled, previous versions of Mac OS X would have a password reset tool easily accessible from the Utilities menu but that isn’t available anymore. There are still multiple approaches to resetting a lost user password in OS X 10.7, this walkthrough will cover two different methods, the first is unique to Lion and the second is a traditional workaround to reset a password.</p> <h2 style="font-size:1.3em;">Method 1 – Reset a Lost Mac OS X Lion Password</h2> <p><strong>You have to boot from a Lion Recovery drive</strong>, this can either be a recovery disk made with the <a href="http://osxdaily.com/2011/08/08/lion-recovery-disk-assistant-tool-makes-external-lion-boot-recovery-drives/">Lion Disk Maker tool</a>, or just by booting from the built-in Lion Recovery HD partition.</p> <ul> <li>Hold “Option” at boot and select the “Recovery” disk at the boot menu</li> <li>Wait for “Mac OS X Utilities” menu to appear, indicating that you are booted into recovery mode</li> <li>Click on the “Utilities” menu and select “Terminal”</li> </ul> <p><img alt="Launch Terminal from Mac OS X Lion Recovery Menu" src="http://osxdaily.com/wp-content/uploads/2011/08/launch-terminal-from-recovery-hd.jpg" title="Launch Terminal from Mac OS X Lion Recovery Menu" class="aligncenter" width="615" height="228" /></p> <ul> <li>Type the following:</li> <p><code>resetpassword</code></p> <li>Confirm the user account and then the password change and reboot Mac OS X 10.7 as usual with your new password</li> </ul> <p>This replaces the “Reset Password” menu item that used to be in place prior to OS X 10.7, which was one of two original methods of <a href="http://osxdaily.com/2010/08/10/forgot-mac-password-how-to-reset-mac-password/">resetting a Mac OS X 10.6 or prior password</a>. Why the change to the Terminal method? Probably for increased security now that recovery partitions are standard with Lion.</p> <p>The above method is by far the easiest, but if it’s unavailable for some reason, you can choose another method: <span id="more-20266"></span></p> <h2 style="font-size:1.2em;">Method 2 – Delete AppleSetupDone and Create a New Administrative Account</h2> <p>Mac OS X 10.7 does share a more untraditional approach to resetting a password as past versions of OS X. In this case, you can still delete the AppleSetup file which forces the “Welcome to Mac OS X” setup assistant to run again, which allows you to create an administrative account. You can then login to that new administrative account and reset your original account password.</p> <p>From the Recovery Drive’s Terminal, type:</p> <p><code>rm /var/db/.AppleSetupDone</code></p> <p>Then reboot either through the menu item or by typing ‘reboot’ into the command line.</p> <p>Follow the setup procedure as usual, create the new administrative account, and wait for Mac OS X to boot as usual into the new user account. You won’t see any of your familiar files or settings yet, and this is normal, because you have to reset the original password. Here’s how:</p> <ul> <li>Open “System Preferences” and click on “Users & Groups”</li> <li>Click on the lock icon in the lower left corner and authenticate, allowing you to make changes to user accounts</li> <li>Select your original user account from the left side Users list, and then click on the “Reset Password” button on the right</li> <p><img src="http://osxdaily.com/wp-content/uploads/2011/08/reset-password-through-user-system-preferences.jpg" alt="Reset a Mac password from System Preferences" title="reset-password-through-user-system-preferences" width="434" height="177" class="aligncenter size-full wp-image-20583" /></p> <li>Enter and confirm the new password</li> <li>Close out System Preferences and reboot</li> </ul> <p>You can now login to the original user account with the new password you just set. Once logged into your original administrative account you can then return to User & Groups and delete the temporary admin account you created.</p> <p>These two methods should work when booting a <a href="http://osxdaily.com/2011/07/08/make-a-bootable-mac-os-x-10-7-lion-installer-from-a-usb-flash-drive/">USB Lion install drive</a> too, but it’s quicker to use the Recovery disk that is already active on OS X Lion installations.</p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/Hk46i5npyyDGVPRkjro7n42jk8E/0/da"><img src="http://feedads.g.doubleclick.net/~a/Hk46i5npyyDGVPRkjro7n42jk8E/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/Hk46i5npyyDGVPRkjro7n42jk8E/1/da"><img src="http://feedads.g.doubleclick.net/~a/Hk46i5npyyDGVPRkjro7n42jk8E/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=eCSAPMKGqd0:4GrTqWFNO8o:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=eCSAPMKGqd0:4GrTqWFNO8o:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=eCSAPMKGqd0:4GrTqWFNO8o:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=eCSAPMKGqd0:4GrTqWFNO8o:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=eCSAPMKGqd0:4GrTqWFNO8o:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=eCSAPMKGqd0:4GrTqWFNO8o:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=eCSAPMKGqd0:4GrTqWFNO8o:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/eCSAPMKGqd0" height="1" width="1"/> View the full article
Recommended Posts