Question: how to change administrator username and password on mac?
Answer: Log in with the name and password of the other admin account.
Choose System Preferences from the Apple menu, then click Users & Groups.
Click. ... 
Select your user name from the list of users.
Click the Reset Password button, then follow the onscreen instructions to create a new password: