Welcome to the Admin Account Setup guide! This README will assist you in configuring an admin account. Please ensure you have the necessary login credentials before proceeding.
- macOS System: Ensure you have a macOS system with admin privileges.
- Access to Terminal: You'll need access to Terminal for executing commands.
Begin by logging into your Mac as an admin user. For the sake of this guide, let's assume the admin username is admin
.
Launch Terminal on your Mac. You can find Terminal in the Utilities folder within the Applications folder.
Enter the following command in Terminal to disable the root user:
dsenableroot -d
You'll be prompted to enter the password for the admin user. After entering the password, you'll see a confirmation message indicating that the root user has been disabled.
Enter the following command to enable the root user:
dsenableroot
You'll be prompted again for the admin user's password. After entering it, you'll then be prompted to set a new root password. Enter your desired root password twice. You'll receive a confirmation message once the root user has been successfully enabled.
It's essential to remember the new root password you've set. Ensure you keep it in a secure place for future reference.
Congratulations! You've successfully set up an admin account. Remember to keep your credentials secure and follow best practices for password management. If you encounter any issues or have further questions, don't hesitate to reach out for assistance.
Happy administrating! 🚀