|
|
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已! |
|
恭喜您是本站第 1674831
位訪客!
登入 | 註冊
|
|
|
|
發表者 |
討論內容 |
冷日 (冷日) |
發表時間:2016/7/5 5:35 |
- Webmaster
- 註冊日: 2008/2/19
- 來自:
- 發表數: 15771
|
- [轉貼]Reset the login password on a Mac OS X guest OS running in VMware
- How do I reset the login password on a Mac OS X guest OS running in VMware Fusion?
I installed an OS X instance inside of VMware Fusion since I needed a clean system to test some stuff on, but I've forgotten whatever login password I set for that guest OS's user account and now I don't want to have to reinstall the whole guest OS.
If this were a physical machine, I would boot into the recovery partition and launch the password utility, but I'm not sure how to do that for a guest OS in Fusion. osx mac vmware-fusion password-recovery shareimprove this question
Hold down Cmd-S while booting to enter Single User Mode. Then follow the on-screen instructions to fsck the disk and mount it read-write. Then remove the /var/db/.AppleSetupDone file and reboot, and OS X's first time out-of-box setup assistant will run again. Create a new local admin account with a password you'll remember, and either delete the original admin account, or use the new admin account to reset the password on the old admin account, then delete the new admin account
fsck -fy /
mount -uw /
rm /var/db/.AppleSetupDone
reboot
冷日補充:冷日碰上的狀況是『MAC OS in VMWare』忘記密碼了! 經測試前面說到的 Cmd-S 或是 Option+R 都是有用的! 只是,如果在 VM 裡面,怎麼按 Cmd-S 或是 Option+R 呢? 冷日這裡的經驗是『Windows key + S』 or 『Windows key + R』就可以了! 實際案件對應請參閱:Keyboard mappings using a PC keyboard on a Macintosh
|
|
|
討論串
|