First, click on “System Preferences”
From the “System Preferences” window select the “Users & Groups”
Click on the “Lock” icon and then provide a Username and Password to unlock it
After unlocking it please click on the “+” sign
After clicking on “+”, a new form will appear. Fill it and New Account must be “Administrator”. You may choose “Administrator” from the drop-down list. After filling out the form click on “Create User”
After clicking on “Create User” a new user will create with “Administrator” Rights
Now Logout from the current user
After logout, a new screen will appear and now you will need to log in from the newly created User
Now provide the password for the newly created user account and login