How to Make yourself Admin on Mac Using Terminal?

Posted in  mac | 2022-03-16

How to Create an Admin Account in the Mac Terminal

Open the Terminal app following the same steps listed above.
Type in sudo dscl / append /Groups/admin GroupMembership USERNAME and replace “username” with your name.
Now enter the administrative password.

How do I Make myself Admin on Mac Without Password?

Hold ⌘ + R on startup.
Open Terminal from the Utilities menu.
Type resetpassword and follow the instructions.

How do you Run as Administrator on Mac?

Enter sudo "\ file path from hard drive to application. app/Contents/MacOS/application name".
Enter the password for the administrator account you are currently logged into. Press ⏎ Return .
If the command works, the application should open with root privileges.

How to Switch to an Admin User in Terminal to Run Sudo ...