Zum Hauptinhalt wechseln

Passwort auf einem Mac zurücksetzen

  1. Passwort auf einem  Mac zurücksetzen, Mac im Einzelbenutzermodus starten: Schritt 1, Bild 1 von 1
    • 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.

  2. Passwort auf einem  Mac zurücksetzen, Root-Gerät als Schreib-Lese-Gerät mounten: Schritt 2, Bild 1 von 1
    • 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.

    Es funktioniert mit

    mount -uw /

    Theo Wintwer - Antwort

  3. Passwort auf einem  Mac zurücksetzen, Entferne die Datei .AppleSetupDone: Schritt 3, Bild 1 von 1
    • Gib "rm /var/db/.AppleSetupDone" ein und drücke Enter/Return

    • Hierbei muss die Groß-/Kleinschreibung beachtet werden.

    • Zwischen dem rm und / muss ein Leerzeichen stehen, sonst erhältst du den Fehler "keine solche Datei oder kein Verzeichnis"

    • Diese Methode funktioniert NICHT, wenn FileVault auf dem Startlaufwerk aktiviert ist.

  4. Passwort auf einem  Mac zurücksetzen, Überschreiben von root/wheel für /var/db/.AppleSetupDone: Schritt 4, Bild 1 von 1
    • 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.

    UNITED MUSLIMEEN - Antwort

    Sometimes if you start over, it will work but you may be getting the error because you are using a Mac with a T2 chip and it won’t work on Macs with a T2 chip because the T2 chip does not allow write access to the drive.

    Elijah - Antwort

    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

    mariya - Antwort

    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

    70sunkisses - Antwort

    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.

    lyonmissions - Antwort

    you’re clutch! thank you! it worked lol

    Willy Avila -

    This one worked for me. Until I hit another roadblock stating that this computer remotely administered by Hudson Pub School. This 2nd time I did not login into my Wi-Fi during setup and it let me create a new admin acct that only I controlled. Now to delete Hudson Pub Schools.

    Paul Paul - Antwort

  5. Passwort auf einem  Mac zurücksetzen, Mac neu starten: Schritt 5, Bild 1 von 1
    • Gib "reboot" ein und drücke die Eingabetaste Enter/Return.

  6. Passwort auf einem  Mac zurücksetzen, Mac einrichten: Schritt 6, Bild 1 von 2 Passwort auf einem  Mac zurücksetzen, Mac einrichten: Schritt 6, Bild 2 von 2
    • 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?

    Ranjith Kumar - Antwort

    Did you see a read only file system error when typing in “rm /var/db/.AppleSetupDone” in single user mode?

    Elijah - Antwort

    Same problem and i did not get a read only

    Brooke Paeper-Archuleta - Antwort

  7. Passwort auf einem  Mac zurücksetzen, Glückwunsch: Schritt 7, Bild 1 von 2 Passwort auf einem  Mac zurücksetzen, Glückwunsch: Schritt 7, Bild 2 von 2
    • Du hast nun ein neues Benutzerkonto mit vollem Administratorzugriff erstellt. Alle zuvor erstellten Benutzerkonten bleiben davon unberührt.

Abschluss

Du hast nun erfolgreich ein neues Administratorkonto auf deinem Mac erstellt.

22 weitere Personen haben diese Anleitung absolviert.

Besonderer Dank geht an diese Übersetzer:innen:

en de

100%

Diese Übersetzer:innen helfen uns, die Welt zu reparieren! Wie kann ich mithelfen?
Hier starten ›

Elijah

Mitglied seit: 12/16/18

1.328 Reputation

2 Anleitungen geschrieben

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.”

dhinostroza - Antwort

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 ???

Mohamed Barnoussi - Antwort

El nuevo usuario administrador que se crea ¿de dónde toma el nombre “Admin” que es el nombre del nuevo usuario administrador?

Horacio Gáñez

Harok Hga - Antwort

: /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

Walter Bastanier - Antwort

Hola, crea un nuevo usuario pero las cuentas antiguas se puede acceder sin ingresar el Pasword?

kilian figueras - Antwort

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.

Jadon Lyon - Antwort

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.

Jadon Lyon -

Kommentar hinzufügen

Seitenaufrufe:

Letzte 24 Stunden: 29

Letzte 7 Tage: 254

Letzte 30 Tage: 867

Insgesamt: 42,816