• 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

    Happy Holidays

    Merry Christmas and to all a good night! <html> <head> <title>Merry Christmas</title> <script type="text/javascript"> function MerryChristmas() { alert ("Merry Christmas!"); } </script> </head> <body> <a href="javascript:MerryChristmas()">MerryChristmas</a> </body> </html>

  • 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

    Roundcube for OS X Server

    The latest Roundcube installer for OS X Server is now available at http://topicdesk.com/downloads/roundcube. This update, which provides a pretty awesome WebMail interface to OS X Server’s Mail Service provides the following: One installer that supports all Mavericks and Yosemite Roundcube WebMail 1.0.3 installed as a WebApp Automatically Configured Plugins Roundcube CardDav: Server-based address books Roundcube Managesieve: Server-side mail filtering and vacation messages PHP and Roundcube Config automatically configured for a typical Mac installation sqllite database – we no longer use Postgres Integration with the Mail Service running on OS X Server

  • 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