Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.