Skip to content

Instantly share code, notes, and snippets.

@a1exlism
Created March 7, 2018 03:20
Show Gist options
  • Save a1exlism/f54e99220813f75c7c89bf9083ef8e05 to your computer and use it in GitHub Desktop.
Save a1exlism/f54e99220813f75c7c89bf9083ef8e05 to your computer and use it in GitHub Desktop.
# Refer Page: https://erocode.com/2017/12/08/mac-os-lost-user/
# === Reboot Mac in real Root mode ===
reboot => holding Command + S(uper)
/sbin/mount -uaw
rm var/db/.AppleSetupDone
reboot
# === Set New User like admin ===
Grant previous user Admin privilege
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment