How To
Mac tip: Unlock master password login screen
- December 20, 2007
- Updated: July 2, 2025 at 9:37 AM
Along with Keychain, the FileVault on your Mac ensures that your files and folders are well protected. The trouble is when you accidentally forget your master password. If you mistype it three times, your Mac will be stuck at the master password login screen and display the error ‘Type the master password to reset this user’s password and to unlock FileVault. Master Password hint: …’ You can try a full reboot to get all your settings back, but there is also another non-reboot solution to the problem. It’s a bit more tricky, but worth it.
First thing, your locked Mac needs to be connected to another Mac via network, and ssh needs to be enabled. You also need to know the administrator name and password of the locked up Mac. From the unlocked Mac, determine the IP address of the locked-up Mac. You can do this by clicking the grey area under “Mac OS X” in the login window. Once you have it, open up the Terminal and type ssh -l admin_name 1.2.3.4
admin_name is the name of the user on the locked up Mac and 1.2.3.4 is the IP address.
Enter the administrator password and press enter. Type in : ps -aux | grep loginwindow.app and press Return. In the results you get, locate the Process ID (PID) for root’s instance of login window. Type in sudo kill PID# (PID# being the number you just found). Enter your admin password and press Return. The login window will disappear and disappear. In the Terminal window of your unlocked Mac type in logout to end your ssh session. You’ve unlocked your master password login screen without rebooting!
[Via: macosxhints]
You may also like
NewsIs Twitter coming back? Elon Musk tries to stop it
Read more
News'Avatar: The Way of Water' has flopped with critics, receiving the worst rating of the entire saga
Read more
NewsPark Chan-Wook has invited the most famous CEOs in the world to watch his latest movie
Read more
NewsKeanu Reeves will see the sequel to one of his most famous movies… but probably without the same Keanu Reeves
Read more
NewsDisney will make a movie based on the great villain from 'Beauty and the Beast'
Read more
NewsJerry Seinfeld reveals how important Rob Reiner was in his life
Read more