Touch ID on MacBook

How to configure Touch ID to authorise sudo commands on macOS

The other day I was watching one of NetworkChuck’s recent videos where he was running through a bunch of shell commands for Mac, and one stuck out to me in particular… The ability to configure Touch ID to authorise sudo commands! 🤯 Edit the following file: sudo vim /etc/pam.d/sudo Add this line auth sufficient to the top of the file, below the comment. It should look something like: # sudo: auth account password session auth sufficient pam_tid....

8 February 2023 · 1 min · Toby Scott
MacOS Sierra

How to extract an old macOS installer from PKG on a newer version of macOS

Background I have an old 2016 Intel MacBook Pro that I’ve had running Ubuntu for a while but could never get the sound to work in Linux so I decided to reinstall macOS on it. Should be easy right? Wrong… Instead of setting up a dual boot situation, I cleverly decided to wipe the whole hard drive in favour of Ubuntu, recovery partitions and all. But no matter, Intel Macs can boot into an internet recovery system without the recovery partition by holding ⌘ R on power....

1 January 2023 · 5 min · Toby Scott
Apache config

Configuring subdomains in XAMPP

My environemnt At the time of writing, I am running XAMPP 8.0.3 on macOS 11.4 1. Enable Virtual Hosts in Apache Go to /Applications/XAMPP/xamppfiles/etc/httpd.conf and uncomment this line: #Include etc/extra/httpd-vhosts.conf 2. Configuring a new virtual host Navigate to XAMPP’s htdocs and create a directory named subdomains. Create a directory inside subdomains to be the root directory of the new subdomain. You may call it whatever you like, for this example we will call it mysubdomain....

3 November 2021 · 2 min · Toby Scott