Gain Administrator Access on MAC using Commands
https://letsknowaboutcomputer.blogspot.com/2012/12/gain-administrator-access-on-mac-using.html
First, you must start the computer in Single-User Mode, a command-line mode which automatically logs in as the administrator. This function...