Change Admin Name on Mac: Step-by-Step Guide
If you're new to a MacBook or recently entrusted with an administrator's role, you might want to change the admin name to something more recognizable. The admin name or username is not the same as your full name or the login account name, and changing it involves accessing the System Management Controller (SMC) settings. Here's a step-by-step guide on how to change the admin name on your MacBook.
Before we delve into the process, understand that changing the admin name should be done by a privileged user or administrator to avoid системы безопасности violations. Additionally, be sure to back up important data, as resetting the SMC might affect system settings. Let's proceed with the process.
Understanding the Admin Name and User Account Name
The admin name is the root user or system administrator username, usually set as 'root'. The user account name is the one you use to log in to your MacBook. Changing the user account name is more straightforward, so let's cover both processes.
These names play distinct roles in system management and security. Remember that changing the admin name or user account name does not alter your Apple ID or iCloud account information.
Changing the User Account Name
You can change the user account name directly from System Preferences.
- Click on the Apple logo in the top-left corner and select 'System Preferences'.
- Choose 'Users & Groups'.
- Select your user account and click on the 'Edit' button.
- Click 'Change Name', enter the new name, and click 'OK'.
- Close System Preferences. You'll be prompted to restart your MacBook to apply changes, but you can ignore it if you wish.
Changing the Admin Name
To change the admin name, we'll reset the SMC settings. Unlike changing the user account name, this process will require you to shut down your MacBook and use specific key combinations.
Resetting the System Management Controller (SMC)
Resetting the SMC is a safe process that restores the OS X to its factory default settings.
Before proceeding, back up your data and ensure your MacBook is fully shut down. Do not put it to sleep or log out of your account.
Steps to Reset the SMC on Your MacBook
- Press and hold the power button for about 1.5 seconds, then release it.
- Wait for about 10 seconds.
- Press and hold the Shift + Control + Option keys, then press and hold the power button.
- Keep holding all four keys together for about 10 seconds, then release them all at once.
- Wait a few seconds, then press the power button to turn on your MacBook.
Upon restarting, log in with the 'root' username and the admin password you set initially. You can now change the admin name through the Terminal. Here's how:
- Open Terminal from Applications > Utilities.
- Type 'sudo nano /private/etc/passwd' and press Enter.
- Find the line with 'root:x' and replace 'root' with your new admin name.
- Press Ctrl + X to exit, followed by Y to save changes, and then Enter to confirm.
- Reboot your MacBook and log in with your new admin name and password.
Now that you've successfully changed the admin name on your MacBook, remember to update any scripts, autorization agreements, or system preferences that still use the old admin name. Regularly backing up your data and keeping your MacBook's software up-to-date will ensure a smoother user experience and better security.
Embrace the power of your MacBook and explore the endless possibilities that come with understanding and personalizing your device. Happy administering!