There are some few ways to reset a password in Mac OS X but both of those means need reboots. This steps are different, it lets you modify the password of the user presently logged into Mac OS X Lion, without knowing the user password, and there is no requirement for a reboot. So , first of all , you need to launch the Terminal, located in /Applications/Utilities/ and then you need to type ‘whoami’ at the command line to obtain the existing users accurate login name, which will look similar to this one.
You then need to type the following command, replacing ‘username’ at the end with the accurate existing users login name that you recovered from
Code:
whoami:
dscl localhost -passwd /Search/Users/username
. then you need to enter the new password once, and along with it , hit return, and verify the new password once more by hitting return. The password will now be changed. In addition, you don’t require any authentication as you simply enter the fresh password and verify the altered password. This is much simple than the manual reset techniques and it doesn’t need a reboot or any operation of user data in Mac OS X.
Bookmarks