Created
August 30, 2018 17:03
-
-
Save kamontat/1c72976f0625c120fa4f898e6ad9d761 to your computer and use it in GitHub Desktop.
Restart Setup, To recreate Admin user in MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shutdown your computer (Mac) | |
# Press `Command+S` and turn computer on. | |
# Press, until computer open black screen | |
## Type below to the screen | |
# Mount root dir | |
/sbin/mount -uw / | |
# remove setup entry | |
rm /var/db/.applesetupdone | |
# restart computer | |
reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ปิดคอมตัวเอง (Mac) | |
# กด `Command+S` แล้วเปิดเครื่อง | |
# กดจนกว่า จะมีจอดำขึ้น | |
## พิมพ์ไปดังนี้. ทีละบรรทัด | |
# โหลด โฟลเดอร์ root | |
/sbin/mount -uw / | |
# ลบการตั้งค่าเดิม | |
rm /var/db/.applesetupdone | |
# ปิดเครื่อง-เปิดใหม่อัตโนมัติ | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment