如何免Mac OS X安裝片重設蘋果電腦密碼?

1. 直接改密碼 :
開機後按 Command-S, 然後輸入下列指令. username 改成你的username. password 改成你要的密碼

# fsck -fy
# mount -uw /
# launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
# dscl . -passwd /Users/username password
# Reboot

2. 直接取得 root 權限 :
開機後按 Command-S, 然後輸入下列指令

# fsck -fy
# mount -uw /
# passwd
# exit

之後用 root 登入, 再去重設其他 user 密碼

3. 欺騙註冊程序 :
開機後按 Command-S. 輸入下列指令

# fsck -fy
# mount -uw /
# rm /var/db/.AppleSetupDone
# shutdown -h now

重新開機後, 要輸入註冊資訊. 有點小麻煩

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.