Editing Property Lists with plutil

I stumbled over these option this morning. I do not know when they were introduced, but I can see the options in 10.11 and 10.12. You can see them yourself with plutil -help. (The options are not listed in the man page.) Note: Managing and editing Property List files and preferences is covered in much more detail … Continue reading Editing Property Lists with plutil

Weekly News Summary for Admins — 2023-04-21

For change, this was a week without an update, security or otherwise. MacAdmins have still been busy doing and sharing their research. Thank you all so very much for all the great articles. (Sponsor: Mosyle) The only Apple Unified Platform for Business Mosyle is the only solution that fully integrates Enhanced MDM, Endpoint Security, Internet … Continue reading Weekly News Summary for Admins — 2023-04-21

Moving to zsh, part 5: Completions

Apple has announced that in macOS 10.15 Catalina the default shell will be zsh. In this series, I will document my experiences moving bash settings, configurations, and scripts over to zsh. Part 1: Moving to zsh Part 2: Configuration Files Part 3: Shell Options Part 4: Aliases and Functions Part 5: Completions (this article) Part … Continue reading Moving to zsh, part 5: Completions

Demystifying `root` on macOS, Part 2 — The `sudo` Command

As mentioned before, the recommended way of gaining super user privileges from the command line in macOS is the sudo command. The name means ‘super user do’ and will perform the following command with root privileges after verifying the user running sudo has the permission to do so. Part 1: Demystifying root Part 2: The … Continue reading Demystifying `root` on macOS, Part 2 — The `sudo` Command

Parse Binary Property Lists in Finder Metadata

For more info on plutil and everything property list related read my book: ‘Property Lists, Preferences and Profiles for Apple Administrators’ macOS and Finder use extended attributes to store plenty of extra information about files. For example, when you download a file in Safari, it stores when a file was downloaded and which website and … Continue reading Parse Binary Property Lists in Finder Metadata

Relocatable Package Installers and quickpkg Update

In my book “Packaging for Apple Administrators” I show a great use of pkgbuild to wrap an application in a package installer: $ pkgbuild –component /Applications/Numbers.app Numbers.pkg If the application is not already in the /Applications folder, you have to add the –install-location: $ pkgbuild –component /Volumes/Firefox/Firefox.app –install-location /Applications Firefox.pkg This is great and wonderful, … Continue reading Relocatable Package Installers and quickpkg Update