Resetando senha de usu?rio Mac OS X

Mac Os X 10.4.2
1. Click Restart at the login window

2. While the computer is restarting, hold down ?Command-S? until you see text scrolling through the window. This boots the computer into single user mode.

3. At the Localhost% prompt type:

/sbin/fsck -y
/sbin/mount -uw /
/sbin/SystemStarter

You will then see various services starting up.

4. When the Localhost% prompt reappears, type:

passwd [username]

It will then ask you to type the new root password twice, so do so.

(Though I?ve not tried it, it appears you can type niutil -list . /users to get a list if users if you do not know the username?.if someone wants to verify this, I would be most appreciative).

5. After entering the new password, type:

reboot

Mac OS X 10.3

If you have 10.3, Baxter?s method should work.

Here?s the same info Baxter put up, just a little easier to see,

EXCLUDE THE QUOTATION MARKS, but make sure to type in the spaces.

First type in: ?/sbin/fsck -y?

Followed by: ?/sbin/mount -uw /?

Then, type in:

?/usr/libexec/register_mach_bootstrap_servers /etc/mach_init.d?

Next: ?cd /var/db/netinfo?

Then: ?netinfod -s local?

Followed by: ?SystemStarter?

Finally, type: ?passwd root?

You?ll be asked to come up with a new password. If you want to change a login?s password, substitute ?root? with the username.

After that, type ?reboot?

Remember, to EXCLUDE the quotations marks, but type in all the junk inbetween ?even the spaces!

Thanks again Baxter and Elliot.

http://www.intelliot.com/blog/archives/2005/02/15/mac-os-x-password-recovery/