Skip to main content


User Notification & a Talking Mac

  In today's world where social media has become part of our lives like never before, things have started to make more sense when they are personalized with emojis & GIFs. Cyberpsychologist (oh, it's funny if you've never heard of them?) argue that just by sending emojis we can change someone's state of mind. We can discuss more how your girlfriend or boyfriend didn't let you sleep all night with that one emoji she sent you. How about adding much-loved emojis & talking personally to the logged-in user? The human tendency is to act better in when things are familiar to them. But, this post isn't about Cyberpsychology, so we'll go back to Mac. So, when we know this personalization & emoji works so well, why the notifications that are sent to the users so damn boring? Well, maybe no one thought about it, or maybe we don't care enough. Well, for the ones who want to break the taboo, here is a quick HealthCheck framework that will talk to the user
Recent posts

macOS Automation & Scripting

Here are the resources we all use. Give it a try: guillaumegete/dmg2pkg: Make DMG from PKG Positioning a window in macOS – Alexis Bridoux Automating automatic login for macOS – brunerd Piping stdout and stderr to Preview – Erica Sadun Programmatically logout a user in Swift – Alexis Bridoux Troubleshooting “zsh: operation not permitted” – Alan Siu Simplifying pkg recipes with AppPkgCreator – Elliot Jordan Using diskutil to find secure token users on a Mac – Alan Siu Logic Pro scripty bits: tracking current Input device – Charles Edge Allow standard users to manage printers with a Munki NoPkg – Kevin M. Cox Trusting Certificates in System Keychain without Prompting – Twocanoes Software

Welcome the new macOS - Mojave

Apple has released 3rd Beta verion of their macOS Mojave, so we thought to give it a try. What we found is that the product is really promising. They have improved many things that we never realized is actually a need.  Instead of writing what we loved, we prefered to collect posts that include all new features. If anyone needs Mojave Beta release, please send an email to: , we would be glad to share it.    List of new features:

How to get current loggedin user on Mac via script

I won't waste time wiring details. This works as of today, but what will Apple do in future, only God knows.  🤓  It's always suggested to run the command without variable to ensure it work, but you probably know that.  CurrUser=$(echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ && ! /loginwindow/ { print $3 }')

Locking iOS Devices for Kids

I recently gave iPhone to my daughter who is 10 years. As we all have experienced kids these days are 10 times smarter than we were in our days :) So I had to lock down iPhone so that she cannot install apps and couldn't use Safari. She is supposed to use Swedish speaking and some other educational apps, and ofcourse Facetime. To get this done, I had created a profile that can be installed on any iOS device and will lock down these settings.  Unzip the file and send the Apple Inc_meme.mobileconfig via email to the iOS device. If you want to install this Config Profile, just open the attachment on iPhone / iPad. This will prompt you with steps to install. The password is mentioned in the info.txt inside the zip file. If you want to use App store, you can just remove this profile using the same password and install it back when you are done.  Download Link There are various other things that can be locked in iOS as well. If it is for your personal use, please feel free to request for

Java Packaging for Mac

What changed with Java 8u65 is that Oracle changed its installer from .pkg to .app Why you should not waste time taking snapshots of Java because you already have the deployable package stuffed insde the Java When you open the dmg, you would see the following. This is .app and you can install it by double click, but you would not do if you are packaging for mass deployment.  So here is what you can do to get the retro Java installer in .pkg format so that you can deploy it right away in the entire enterprise: Right click and select 'Show Package Contents' Navigate to this path 'Content > Resources > and look for JavaAppletPlugin.pkg This can be used to deploy in your organization and it is ready to be used.

MS Office Packaging via FileWave

Creating an MS Office Package is pretty easy that the perception about it is. There are couple of files that you need to include in your package and deploy them. Start with having a look at all the locations mentioned below and ensure you can find all of them. Following the process here, you dont need to create separate package for Office Updates. All the package released before the date you are trying this, can be combined into one giving a sleek and clean installer. We will discuss 2 simple ways of doing it. Based on your understanding & preference, you might like either of these solutions. Solution One How To Start The steps we will follow is: Install the required version Install the available MS updates Locate all the files mentioned below Add a Blank FileSet Place the Files and Folders mentioned below Give a name to your FileSet & ensure Requires Reboot is turned off Enable Self Healing, if you like What All You Need Here are the files you need to grab from your Mac: /Appl

Creating NetBoot, NetInstall & NetRestore Images

Everyone has a different reason for writing a blog. I do it for the newbees who can step into the world of Mac but at the same time, I use the blogs as reference manual for myself and use then when needed. Since quite some time I had been thinking on writing a document on this but I came across this Apple KB. Please visit here:  HT202061 This will help you as starter to create NetBoot, NetInstall and NetRestore images. If you are even newer and need to understand these terms, you can visit here: And if you want to do it via command line, visit this KB article: I follow the non Apple way when it comes to Imaging the OS, its personal preference. Hope these articles will lead you to much advance and helpful ones as well. Cheers!!!

Creating MS Office Package & Updates

  Hello Composer Lovers! :) So lets see how is it done using Composer or any other tool for that matter. The major steps remain same in all packaging tools, its just the post install work that might change a little bit. However, if you get stuck with any other tool like Packager, PackageMaker, Luggage or  AutoPKG, feel free to write back to me. Steps would sound same as in FileWave, just few of the things will change. Install the required version Install the available MS updates Locate all the files mentioned below In Composer, click on New and take a blank snapshot or do via Monitor FileSystem Changes Delete everything that got captured Drag & drop the Files and Folders mentioned below in Composer Item 15 should be sent to /tmp/ Add a Post Install script to run the installer from /tmp/ -  Volumes/Microsoft Office 2011/Office Installer/Contents/Packages/ g. See the inline for hint. ​  ​<sudo> installer -pkg /tmp/Office2011_en_dock.pkg -target / Export int

Remove Contents of a distribution package

Yesterday I got a request to create a VPN AnyConnect package where client asked to remove some of the contents from the file and repackage it with the preconfigured server settings. This is what it looked like: Clients demand was to remove 'Web Security', 'Diagnostic and Reporting Tool' & 'Posture' leaving only VPN in the package. So there are again, two options, take a snapshot using FileWave or Casper and create the package, which any kid can do or try the more advance way of doing it. There is an advance way of doing this - Flatten the package make the changes and Unflatten it again. Steps: 1. Run the command to open the package using  pkgutil 2. Make the changes, delete the unwanted stuffs (the selected ones in this example) 4. Just leave the VPN items: 5. Check if there is anything else the is requested by the client or something under cleanup activity. In this specific example you need to modify the Distibution file. Have a glance at this file and you