Friday, August 28, 2020

Creating a MacOS administrator account when none exists

An easy and safe way create an administrator account when non-exists on MacOS is to boot into single user mode and mount the OS drive. We actually want to delete a file called the .AppleSetupDone file located in /var/db. This will cause the user wizard to run again where you can create any kind of account again after you exit or reboot out of single user mode including an administrator account.

Here are the steps:

  1. Turn on your mac pressing the "command ⌘" key + S. This will boot you into Single User Mode
  2. Mount the drive by typing /sbin/mount -uw /
  3. type rm /var/db/.AppleSetupDone
  4. type exit or reboot and it will run the account setup wizard and setup the administrator account

How to fix CURL call imporitng an RSS feed on a site blocking CURL calls

There is a 3rd party service provider that my organization uses called bibliocommons.  They have these nice book carousels.  However the car...