Einleitung
Wenn du...
1) das Passwort für Ihren Mac vergessen hast
2) ein neues Administratorkonto erstellen musst
3) oder den Einrichtungsassistenten wieder sehen möchtest,
aber das Passwort eines Administratorbenutzerkontos auf dem Computer nicht kennst, zeigt dir diese Anleitung, wie du deinen Mac vortäuschen kannst, dass er noch nie zuvor eingerichtet wurde, ohne deine Daten zu löschen.
Wenn du auf deinem Mac ein Firmware-Passwort aktiviert hast, musst du es deaktivieren, sonst funktioniert diese Anleitung nicht!
Diese Anleitung funktioniert NICHT, wenn FileVault aktiviert ist!
Die Anweisungen in dieser Anleitung funktionieren NICHT auf einem Mac mit einem Apple T2-Chip oder einem Apple Silicon-Prozessor (wie dem M1).
-
-
Schalte deinen Mac aus (herunterfahren).
-
Halte die Tasten Command + S gleichzeitig mit dem Netzschalter gedrückt, um deinen Mac einzuschalten.
-
Am besten hältst du die Tasten gedrückt, bevor sich der Bildschirm einschaltet oder du den Startgong hörst. Wenn du das Apple-Logo siehst, musst du den Computer herunterfahren und diesen Schritt noch einmal durchführen. Außer bei einem Mac mit einem T2-Chip erscheint das Apple-Logo immer in der Sekunde, in der sich der Computer einschaltet.
-
Du solltest einen schwarzen Bildschirm mit weißem Text sehen.
-
-
-
Wenn der Text aufhört zu laden, sollte am Ende eine Zeile mit dem Text "localhost:/ root#" erscheinen. Wenn du "localhost:/ root#" nicht siehst, drücke die Eingabetaste (enter).
-
Gib "mount -uw" ein.
-
Auf dem Bildschirm wird noch etwas mehr Text angezeigt. Wenn du unten "localhost:/root#" siehst, fahre mit dem nächsten Schritt fort.
-
-
-
Gib "rm /var/db/.AppleSetupDone" ein und drücke Enter/Return
-
-
-
-
Wenn du die Meldung "override r------- root/wheel for /var/db/.AppleSetupDone?" erhältst, gib "y" ein und drücke Enter/Return.
-
Möglicherweise erhältst du eine Fehlermeldung, die lautet: "rm: /var/db/.AppleSetupDone: Nur-Lese-Dateisystem.
-
Wenn du keine Meldung siehst, die besagt "override r------- root/wheel for /var/db/.AppleSetupDone?", dann fahre mit dem nächsten Schritt fort.
How to fix this error? You may get an error that says, "rm: /var/db/.AppleSetupDone: read-only file system.
same error, and I found a fix
If you receive it, it means that this command hasn’t worked: “mount -uw / “
In my case, I only typed “mount -uw” and hit enter, but you MUST type it all:
mount -uw /
including the space and /
this fixed it for me and I was able to remove the setup file and proceed as described here
I type mount -uw / but still got the error "rm: /var/db/.AppleSetupDone: read-only
how can I fix it? I need to reset my imac
Okay, I figured out a method:
Type
mount -uw /
with the space and the slash. Hit return.Type
mount -uw
again with no space nor slash. Hit return.Then type
rm /var/db/.AppleSetupDone
and hit return.The only time text will appear is when you type the second line. After the AppleSetupDone line, you shouldn't even have to type Y and then hit return. In fact, nothing should happen.
If you still can't, type
fsck -fy
and hit return. This will check your startup volume.you’re clutch! thank you! it worked lol
-
-
-
Dein Mac startet jetzt neu und zeigt den Setup-Assistenten an. Du kannst nun deinen Mac einrichten.
After step 6, it reboot and going to normal window to enter password rather new admin setup page.. What could be the problem here?
Same problem and i did not get a read only
-
-
-
Du hast nun ein neues Benutzerkonto mit vollem Administratorzugriff erstellt. Alle zuvor erstellten Benutzerkonten bleiben davon unberührt.
-
Du hast nun erfolgreich ein neues Administratorkonto auf deinem Mac erstellt.
Du hast nun erfolgreich ein neues Administratorkonto auf deinem Mac erstellt.
Rückgängig: Ich habe diese Anleitung nicht absolviert.
22 weitere Personen haben diese Anleitung absolviert.
Besonderer Dank geht an diese Übersetzer:innen:
100%
Diese Übersetzer:innen helfen uns, die Welt zu reparieren! Wie kann ich mithelfen?
Hier starten ›
8 Kommentare
What are the steps to overcome the error?
“You may get an error that says, rm: /var/db/.AppleSetupDone: read-only file system.”
This error can be caused because FileVault is enabled or that there was some random error. Try running the same commands in Terminal in the macOS recovery partition and see if that works. This error may also occur on a Mac with a T2 chip. If FileVault is enabled, you will have to erase the hard drive/SSD and reinstall macOS if you forgot your password.
Elijah -
i get no such file or directory why ???
: /var/db/.AppleSetupDone: read-only file system.",
you have to allow write access to the filesystem,
but only after checking for errors.
On my old MacBookPro, it's written in the system messages:
/sbin/fsck -fy
/sbin/mount -uw /
rm /var/db/.AppleSetupDone
Afterwards, it worked as described
Hola, crea un nuevo usuario pero las cuentas antiguas se puede acceder sin ingresar el Pasword?
Remember, when mounting the drive, you actually mount two drives: the first one you mount is the root drive. The second one is the actual boot drive.
First mount the root drive mount -uw /
Second mount the boot drive mount -uw
Then you can remove the file, but I would recommend using rm -R instead of just rm. This will prevent the error.
And to add to that, the var folder may be located in /private/var, so you will may need to type rm -R /private/var/db/.AppleSetupDone.
Como se hace
Isabel Peralta - Antwort