¿Cómo recupero el acceso a mi configuración de administrador en MacOS? (los comandos sudo funcionan)

¿Cómo recupero el acceso a mi configuración de administrador en MacOS? (los comandos sudo funcionan)

Recientemente cambié mi contraseña, actualicé a Big Sur y habilité MDM, y tuve un problema al acceder a la configuración de administrador en la interfaz de usuario.

Todavía tengo acceso sudo para convertirmeraízen la línea de comando.

Sin embargo, no puedo desbloquear el bloqueo en la interfaz de usuario del administrador.<- El problema.

Fui tonto y no hice un segundo usuario administrador.

¿Hay alguna forma de actualizar el acceso de administrador desde la CLI?

¿Existe un mejor stackextange para esto?

Respuesta1

Resulta que se trata de una actualización a Big Sur en una macbook con un procesador Intel.

Tuve que restablecer mi SMC. Tenga en cuenta que fue necesario seguir los pasos a continuación 3 veces antes de presionar todos los botones correctamente.

https://support.apple.com/en-us/HT201295

Pasos copiados y pegados según lo solicitado:

Computadoras portátiles con chip T2

Antes de restablecer el SMC, intente estos pasos:

Shut down your Mac.
Press and hold the power button for 10 seconds, then release the button.
Wait a few seconds, then press the power button to turn on your Mac.

Si el problema persiste, siga estos pasos para restablecer el SMC:

Shut down your Mac.
On your built-in keyboard, press and hold all of the following keys. Your Mac might turn on.
    Control  on the left side of your keyboard
    Option (Alt)  on the left side of your keyboard
    Shift  on the right side of your keyboard
Keep holding all three keys for 7 seconds, then press and hold the power button as well. If your Mac is on, it will turn off as you hold the keys.
Keep holding all four keys for another 7 seconds, then release them.
Wait a few seconds, then press the power button to turn on your Mac.

Computadoras de escritorio con chip T2

Shut down your Mac, then unplug the power cord.
Wait 15 seconds, then plug the power cord back in.
Wait 5 seconds, then press the power button to turn on your Mac.

Restablecer el SMC en otras computadoras

Si tu Mac no tiene el chip de seguridad Apple T2, sigue estos pasos. Si necesita ayuda, comuníquese con el Soporte técnico de Apple. Computadoras portátiles con batería no extraíble

Esto se aplica a los modelos de MacBook Pro introducidos desde mediados de 2009 hasta 2017, los modelos de MacBook Air introducidos en 2017 o antes y todos los modelos de MacBook excepto el MacBook (13 pulgadas, mediados de 2009).

Shut down your Mac.
On your built-in keyboard, press and hold all of these keys:
    Shift  on the left side of your keyboard
    Control  on the left side of your keyboard
    Option (Alt)  on the left side of your keyboard
While holding all three keys, press and hold the power button as well.
Notebook keyboard with all 4 keys pressed
Keep holding all four keys for 10 seconds.
Release all keys, then press the power button to turn on your Mac.

información relacionada