Category: macOS

Can’t delete a macOS user with dscl [resolution]

Performing a process on more than a couple of dozen macOS (various versions 10.15.x) without issue and then presented with a couple of macOS laptops that would not allow for the deletion of the user. A very ugly error will appear that reads eDSPermissionError which implies that there is a permissions problem.  As the root administrator to the laptop, this...Read More »

macOS: Useful Commands

The intent of this page is a quick reference of some interesting and useful commands.  The following commands had been tested against macOS versions 11.5.2+ . Serial Number ioreg -rd1 -c IOPlatformExpertDevice | awk -F'"' '/IOPlatformSerialNumber/{print $4}' Model Number sysctl -n hw.model | cut -d "," -f 1 | tr -d '[0-9]_' Current logged On User ls -l /dev/console |...Read More »