Ir para o conteúdo principal

Cómo resetear la contraseña en un Mac

  1. Cómo resetear la contraseña en un Mac, Inicia tu mac en modo Single User: passo 1, imagem 1 %32
    • Apaga tu Mac completamente.

    • Mantén presionadas las teclas Comando + S inmediatamente después de presionar el botón de encendido de su Mac.

    • Lo mejor es mantener presionadas las teclas antes de que la pantalla se encienda o escuches el sonido de inicio. Si ves el logotipo de Apple, debes apagar y volver a realizar este paso. Excepto en un Mac con un chip T2, el logotipo de Apple siempre aparecerá en el momento en que se encienda el equipo.

    • Deberías ver una pantalla negra con texto blanco.

  2. Cómo resetear la contraseña en un Mac, Montar la unidad root de lectura-escritura: passo 2, imagem 1 %32
    • Cuando el texto se detenga, debería ver una línea que dice "localhost: / root #" en la parte inferior. Si no ve "localhost: / root #", presione enter.

    • Escriba "mount -uw"

    • Aparecerá más de texto en la pantalla. Cuando vea "localhost: / root #" en la parte inferior, continúe con el siguiente paso

    Es funktioniert mit

    mount -uw /

    Theo Wintwer - Responder

  3. Cómo resetear la contraseña en un Mac, Eliminar el archivo .AppleSetupDone: passo 3, imagem 1 %32
    • Escribe, "rm /var/db/.AppleSetupDone" y presione enter/ return

    • ¡Esto distingue entre mayúsculas y minúsculas!

    • Debe haber un espacio entre rm y /, de lo contrario obtendrás el error "no existe tal archivo o directorio".

    • Este método NO funcionará si FileVault está habilitado en el disco de inicio.

  4. Cómo resetear la contraseña en un Mac, Anular root / wheel para /var/db/.AppleSetupDone: passo 4, imagem 1 %32
    • Si recibe un mensaje que dice "override r ------- root / wheel for /var/db/.AppleSetupDone?", Escriba "y" y presione enter / return.

    • Es posible que obtenga un error que dice "rm: /var/db/.AppleSetupDone: read-only file system (sistema de archivos de sólo lectura).

    • Si no ve un mensaje que dice "anular r ------- root / wheel para /var/db/.AppleSetupDone?", Continúe con el siguiente paso.

    How to fix this error? You may get an error that says, "rm: /var/db/.AppleSetupDone: read-only file system.

    UNITED MUSLIMEEN - Responder

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

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

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

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

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

  5. Cómo resetear la contraseña en un Mac, Reinicie el equipo: passo 5, imagem 1 %32
    • Escriba "reboot" y presione enter/return.

  6. Cómo resetear la contraseña en un Mac, Configure su MAC: passo 6, imagem 1 %32 Cómo resetear la contraseña en un Mac, Configure su MAC: passo 6, imagem 2 %32
    • Una vez que reinicie su Mac se iniciará el esistente de configuración inicial del equipo.

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

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

    Elijah - Responder

    Same problem and i did not get a read only

    Brooke Paeper-Archuleta - Responder

  7. Cómo resetear la contraseña en un Mac, Felicidades!!!: passo 7, imagem 1 %32 Cómo resetear la contraseña en un Mac, Felicidades!!!: passo 7, imagem 2 %32
    • Ha creado una nueva cuenta de usuario con permiso de admiistrador. Además todas las cuentas anteriores siguen intactas.

Conclusão

Ha creado con éxito una nueva cuenta de administrador en su Mac.

18 outras pessoas executaram este guia.

Um agradecimento especial a esses tradutores:

en es

100%

Estes tradutores estão nos ajudando a consertar o mundo! Quer contribuir?
Comece a traduzir ›

Elijah

Membro desde: 12/16/18

1.070 Reputação

Autoria de 2 guias

5 comentários

What are the steps to overcome the error?

“You may get an error that says, rm: /var/db/.AppleSetupDone: read-only file system.”

dhinostroza - Responder

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

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

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

Adicione um comentário

Exibir estatísticas:

Últimas 24 horas: 32

Últimos 7 dias: 232

Últimos 30 dias: 1,026

Duração total: 32,418