• Bushel,  iPhone,  Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Enroll Devices Into Bushel

    To manage a device from Bushel, it must first be added to your Bushel. The technical whiz-bang name for that process is Enrollment. We currently provide 3 ways to enroll devices into your Bushel. All three are available on the Enrollment page when you’re logged into Bushel. The first and best way to enroll devices into your Bushel is an Apple program called the Device Enrollment Program, or DEP for short. DEP is a way of tying devices to your Bushel so that they cannot be removed from the device, even if the device is wiped. Other than through DEP,  all enrollment into your Bushel is optional on the devices…

  • Consulting,  iPhone,  Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment,  personal,  public speaking,  sites

    https://krypted.com/ Turns 10 Today

    Wow, seems like just yesterday I took down the old static page that was just a bunch of links I used to find stuff and went with a full-on WordPress site and published my first article. Doesn’t seem like I’ve been writing that long. But when I look at the over 2,500 posts on this site and the fact that I hit over 210,000 uniques last month, I guess it must be true. I’m so thankful that people want to read this stuff. And I’m really glad that I’ve been able to help a few people over the years. I hope the next 10 years are even better than the…

  • Articles and Books,  Bushel,  Consulting,  Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment,  personal

    Childproof Your Mac

    When I put a computer in my daughters room, I soon realized I could no longer watch over her shoulder as she worked away at school games, Minecraft and of course Civilization (after all, that was my first game). So much as I wrote an article a long time ago about child-proofing an iPad, now I’m writing about child-proofing a Mac. For me, I find that child-proofing is a bit like taking my kid to McDonald’s. I said never ever ever ever would I do this and then… Well, peer pressure, ya’ll… So if I have to do it, I figure someone else might. So here’s a quick and dirty guide to doing…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Show Volumes On The OS X Desktop

    I spent a lot of time on Windows a long time ago. And one of the things I got used to was having hard drives on the desktop. And I liked it. So when Apple took them off the desktop I started running these commands on new accounts only own systems. The other day when I gave them to someone, they said I should post them. So here goes… To show removable media (cards, etc): defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true To show external hard drives (USB, Thunderbolt, firewire, etc): defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true To show mounted servers (AFP, SMB, NFS, etc): defaults write com.apple.finder ShowMountedServersOnDesktop -bool true…

  • iPhone,  Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    The 12 Days Of Krypted

    Merry Christmas ya’ll! On the first day of Christmas my true love gave to me one 32 gig iPad On the second day of Christmas my true love gave to me two bash one-liners On the third day of Christmas my true love gave to me three Red Hat servers On the fourth day of Christmas my true love gave to me four email blasts On the fifth day of Christmas my true love gave to me five retweets On the sixth day of Christmas my true love gave to me six regular expressions On the seventh day of Christmas my true love gave to me seven lines of perl…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Disable Natural Scrolling With a Script

    I guess it’s a sign of my age. But I can’t stand that whole natural scrolling thing. So I disable it as a part of my imaging process. To do so, set the com.apple.swipescrolldirection global domain to false using defaults, as follows: defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false To set it back: defaults write NSGlobalDomain com.apple.swipescrolldirection -bool true

  • Mac OS X,  Mass Deployment

    Disable The Startup Sound In OS X

    Sometimes you have to reboot on an airplane or with someone sleeping close by. When this happens, it helps if you’ve disabled the startup sound in OS X. To do so, run the following command to set nvram with an empty SystemAudioVolume: sudo nvram SystemAudioVolume=” “

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Securely Empty The Trash By Default

    You can empty the OS X trash securely by choosing the Secure Empty Trash option from the Finder menu. However, you can configure the empty trash option to be a Secure Empty Trash operation. To do so, write an EmptyTrashSecurely key into the com.apple.finder.plist. Use defaults to write the key into this plist as follows: defaults write com.apple.finder EmptyTrashSecurely -bool true

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment,  Network Infrastructure

    Simple Preflight and Sanity Checking in Scripts

    I was recently building some preflight scripts and was looking to record some information about a machine live, before proceeding with a script. I found the cheapest way to determine information about architectures and chipsets when scripting preflight scripts for OS X to be the arch and machine commands respectively. For example, to verify the architecture is i386, use the arch command with no options: /usr/bin/arch Which simply outputs “i386”: i386 To check the machine type, simply use the machine command: /usr/bin/machine Which outputs as follows: x86_64h

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment,  Network Infrastructure,  Programming,  Ubuntu,  Unix

    Opposite Day: Reversing Lines In Files

    The other day, my daughter said “it’s opposite day” when it was time to do a little homework, trying to get out of it! Which reminded me of a funny little command line tool called rev. Rev reads a file and reverses all the lines. So let’s touch a file called rev ~/Desktop/revtest and then populate it with the following lines: 123 321 123 Now run rev followed by the file name: rev ~/Desktop/revtest Now cat it: cat !$ Now rev it again: rev !$ You go go forward and back at will for fun, much more fun than homework… Enjoy!