General Password Get/Set I had sent my MacBook Pro for a hard-drive replacement which was returned back with a fresh installation of the OS.
But there is no password set when I need to "click to unlock".


How do I set my password ?
How do I retrieve my sudo password ?
I assume that the account you are using doesn't need a password right now (otherwise how would you log in). Passwords can be changed in System Preferences -> Users and Groups



If you are an admin user, your sudo password is the same as your login password.