Power up your Mac and immediately press and hold thecommand+Skeys
Keep the keys down until you see text on the screen
Now enter the following command:
/sbin/fsck -fy
and pressenter
Next enter the following command:
/sbin/mount -uw /
and pressenter
Now enter the following command:
rm /var/db/.AppleSetupDone
and pressenter
Finally, enter therebootcommand
and pressenter
Your Mac should reboot and you can log in normally, after which point the Setup Assistant will launch. Now you need to create a new admin user. Don't worry, your other user accountsshouldbe intact.NOTE:You should choose a new user name for this admin account.
Once you're back up and running you can go to Apple > System Preferences > Users & Groups and select theAllow user to administer this computercheckbox for the 'grant' user.
Obrigado Fiz questão de realizar o cadastro correu tudo bem.
Perdi acesso administrador -- Mudei o nome do usuário
em macOS
Postado
Obrigado Fiz questão de realizar o cadastro correu tudo bem.