MacOS清除管理员密码

1、重启 mac ,按住 Command + s 键,进入当用户模式,直达出现黑底白字的屏幕,再松开。
输入(重新挂载根文件系统为可读写):
mount -uw /

2、然后输入:
rm /var/db/.AppleSetupDone

3、关机 or 重启
shutdown -h now

reboot


另请参考:
http://www.fixedbyvonnie.com/2013/09/how-to-reset-the-admin-password-on-your-mac-without-a-disk

原文地址:https://www.cnblogs.com/taoge007/p/6063761.html