Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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".

  1. How do I set my password ?
  2. How do I retrieve my sudo password ?
share|improve this question
Can you access everything on the computer or are there things locked for you? – Hoshts Aug 18 '12 at 12:05
up vote 1 down vote accepted

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

enter image description here

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.