Open the installation DMG and expand the package so we can edit objects inside the package, done with pkgutil: pkgutil —expand “/Volumes/JDK 7 Update 67/JDK 7 Update 67.pkg” “/tmp/JDKTEMP.flat” Next, we’re going to edit that Distribution file, which is what’s checking the OS version, using vi: vi /tmp/JDKTEMP.flat/Dstribution Then we’re going to look for the OS version (currently 10.7) in the pm_install section: Edit OS version to 10.10 Then let’s save the file and then flatten the package, again using pkgutil: pkgutil —flatten “/tmp/JDKNEW.flat” “/tmp/JDK7.pkg” Finally fire up the package: open /tmp/JDK7.pkg And of course, finish running the installer. Good luck!
-
-
Mail Chapter of Take Control of OS X Server Now Available
The Mail Server chapter of the Take Control book is now available up on http://tidbits.com/article/14950. I’m always torn when it comes to writing chapters on setting up mail servers. Is it socially irresponsible to help people potentially (but accidentally) create spam bots…
-
FOIL
How does he keep doing it?!?!?
-
Network Port Testing With Netcat
You can do some pretty simple testing of ports and network communications using strategies I’ve outlined in the past with tcpdump, trace route, telnet, curl, stroke and of course ping. However, netcat has a few interesting things you can do with it; namely actually run a port super-quickly to test traffic between subnets, forcing scans of ipv6 traffic, debugging sockets, keeping connections alive, parodying through SOCKS 4 and 5 and just checking for daemons that are listening rather than actually sending data to them. In this first example, we’re going to just check that Apple’s web server is accessible (adding -v for verbose output): /usr/bin/nc -v www.apple.com 80 The result would be pretty verbose…
-
MacAdmins 2015
I was super-bummed that I missed the MacAdmins conference at Penn State University. But, all is not lost as MacAdmins will be held July 8-10 in 2015 at the Penn Stater Conference Center and I’ll be able to see all those awesome people there next year! In the meantime, something fun and new is the 2014 MacAdmins Playlist to maybe get exposed to some new stuff: http://spoti.fi/VTdxLX. As an aside, here’s a fun pic of @derflounder and I (and others) doing a round table from a few years ago on the Penn State site:
-
Interviewing Duncan for AFP548.com
Totally fun doing these interviews. If you’ve got a good story to tell, let’s do an episode!
-
Come One, Come All: To The JAMF Nation User Conference
If you do deployments of Apple products, there are a few conferences to look at. Based on where you are and what industry you are in, some of these are better than others. But if you use the Casper Suite or are considering doing so, it would be really hard to beat JNUC, the JAMF Nation User Conference. And yes, I’d of said all this and posted this even if I hadn’t of come to work here a week and a half ago! So come one, come all to Minneapolis. And if you’re really nice, we’ll hook you up with some good old fashioned Minnesota lutefisk!
-
Take Control Of OS X Server Now Available
For what amounts to my 12th book, I decided to try something a little different, which is namely to shoot for a slightly different audience than I’ve done with the rest of my books. The kind folks at Take Control Books have been great to work with and I’m super excited that Adam has posted the first part of Take Control of OS X Server on TidBits.com. And, the first few chapters are totally free for TidBits members! Chapter 1 is available at http://tidbits.com/article/14748 and Chapter 2 is available at http://tidbits.com/article/14749. Fun times, hope you enjoy!
-
Reset Lost Admin Passwords In OS X
I’ve gotten a couple of questions about this and don’t remember where I posted it previously, so here goes again. If you forget a local admin password in OS X and you have physical access to the machine then unless you’re using full disk encryption or firmware passwords (and know those passwords) you can reset the password. To do so boot the computer or server from your recovery partition using Command-R at boot (or Option and then selecting the recovery partition). At the Recovery Desktop open Terminal from the Utilities menu. From terminal use the following command: resetpassword When the Reset Password window appears, choose the volume you’d like to reset an account…
-
Make iMovie Work With Network Volumes
I work with a lot of network storage and video world stuff. While most in the editorial world prefer FinalCut, Avid, Adobe and other tools for video management, I do see the occasional task done in iMovie. By default, iMovie doesn’t support using assets stored on network volumes. However, you can make it. To do so, just use defaults to write com.apple.iMovieApp with a boolean allowNV key marked as true: defaults write com.apple.iMovieApp allowNV -bool TRUE