Missing Sudo

If you have the pleasure of binding your macOS fleet to Active Directory some of you may have noticed issues using the sudo command for administrative users.

Chatter on the MacAdmins slack channel suggests that Apple has acknowledged the issue and will resolve it in a future update. Here’s how we’re temporarily working around this:

#!/bin/bash

# Collects the logged in user
loggedInUser="$(stat -f%Su /dev/console)"

# Checks to ensure logged in user isn't already in sudoers
if grep -Rq "$loggedInUser" /etc/sudoers
then
    echo "User ID already exists in sudoers file...Exiting"
else
    echo "$loggedInUser        ALL = (ALL) ALL" >>  /etc/sudoers
fi

Short and sweet. Run as root.

iCloud Keychain Now Provides MFA

iCloud Keychain got a nice update with iOS15 that enables you use it as your MFA provider. Not only does it make the likes of Google Authenticator/Authy unnecessary, it also makes for a much more seamless experience for the end user in Safari. If you have MFA enable for a service (Gmail, Reddit, etc.) you will first need to disable it. Next, locate the entry for that service in iCloud Keychain and select Setup Verification Code.

Setup:

Execution:

Bravo, Apple.

Today’s Adventure with AppleCare

I ran into an interesting issue attempting to purchase AppleCare for a set of headphones I picked up at Best Buy. I was within the sixty day window but when I tried making the purchase online I was presented an ominous message:

“It looks like your device isn’t eligible for an AppleCare agreement.”

The AppleCare rep was stumped. After a bit of googling I discovered the headphones didn’t have a purchase date associated with them—presumably because they came from a third party retailer.

The fix is to visit https://checkcoverage.apple.com, enter your details, and you’ll more than likely be prompted to provide a purchase date. I was then able to complete my purchase.

Books of 2021

These are some great books I’ve read this year ranked accordingly.

1. Educated by Tara Westover. This may be my favorite book of all time. Growing up in a strict evangelical home I found so many parallels between Tara’s upbringing and my own. Tara overcame serious levels of adversity and I did not want this book to end.

2. Evicted by Matthew Desmond. This takes a look at an issue that on the surface I knew existed, but I had no idea the complexities and downward spiral which can occur as a result of being evicted. Truly a humbling read.

3. Going Clear by Lawrence Wright. Going Clear paints a full portrait of the origins of Scientology and the history of L. Ron Hubbard. While originally being dismissive of Scientology as another cult or religious movement, I found it fascinating how high functioning LRH seemed to be, for better or worse.

4. Cultish by Amanda Montell. Jonestown to Soul Cycle and everything in between.

5. Hit Reply by Satya Nadella. A fascinating look at the history of Microsoft and the tremendous strides made to reinvent itself.

6. Many Lives Many Masters by Brian L. Weiss. I’m not sure where I stand on the idea of reincarnation, but if this book is accurate, it provides a incredible account of a patient having detailed recollections of past lives.

7. The 10X Rule by Grant Cardone. What can I say I’m a sucker for a good self help book every now and then.

Currently reading:
Hell’s Angels by Hunter S. Thompson
The Body Keeps Score by Bessel A van der Kolk

Moving Time

Florida was a great move for us in 2016. Affordable cost of living, beautiful beaches, lack of the winter season, and no state income tax. The politics of the area were well known but we chose what may be the most progressive city in the state and it was a great fit at the time.

Fast forward to 2019. We welcomed a child into the world and everything changed. We have chosen North Carolina as our next destination. Good schools, hours away from our child’s grandparents and lots of technical job opportunities should we need a backup plan for our careers.

Excited to start a new chapter.