Tag Archives: MAC

Mac OS X Mac OS X Server Mac Security Mass Deployment

Bypass the Application Downloaded From the Internet Warning in OS X

___ “is an application downloaded from the Internet. Are you sure you want to open it?” is a warning dialog that appears when you open an application that you downloaded from the Internet. When you install those software titles with automation, you can clear the attribute that causes the prompt, so you don’t get a lot of confusion from end users. TO do so, use the xattr command, using -d to delete the com.apple.quarantine attribute. Here, we’re going to do so recursively, using the -r option and finally defining the application:

sudo xattr -d -r com.apple.quarantine /Applications/iExplorer.app

Mac OS X Ubuntu Unix

Bash: A Silly wc Example

The wc command is used to count words, characters and lines. Here, we’ll run it a few different ways. -l shows the number of lines in a file. For example, in my home directory, I can use it to see how many lines are in my .gitconfig file:

wc -l .gitconfig

This would output something like the following:

11 .gitconfig

Or count the number of characters with -c:

wc -c .gitconfig

Or check the number of words:

wc -w .gitconfig

You can also run it against multiple files. For example, here I’ll check the number of lines in both my .gitconfig file and my .gitignore_global files:

wc -l .gitconfig .gitignore_global

Let’s say I have a list of numbers and I want to take an average of them. I can use this to quickly figure out how many numbers I have (and so will divide by) before tallying them up.

Mac OS X Mac Security Ubuntu Unix

Remove All Files Except jamf.log From A Directory

You can redirect a log file into a given directory. That directory, if it has other stuff in it, can get out of control. So, here, we’re going to remove all files except that file using the find command:

find * ! -name jamf.log -type f -delete

Once run, the jamf.log is the last file left in the directory.

Mac OS X Server Mac Security Mass Deployment

More Command Line Service Control In OS X

The serverctl command can be used to start and stop services in OS X Server. Use serverctl with a list verb to show a list of services:

serverctl list

Grab a service (without the quotes) and feed it back into serverctl with the enable option and a service= option to identify the service:

serverctl enable service=com.apple.servermgrd.xcode

Or disable, using the disable verb:

serverctl disable service=com.apple.servermgrd.xcode

Mac OS X

JAMF Nation User Conference 2015 Tickets Now Available! #jnuc

JAMF Software
Join us for the 2015 JNUC!

WHEN:
October 13-15, 2015

WHERE:
Guthrie TheaterMinneapolis, MN

WHY:
Be a part of the largest gathering of Apple system administrators in the world.

 

RSVP to attend

Last year, nearly a thousand Apple admins took over the Guthrie Theater for the JAMF Nation User Conference (JNUC) to learn new and better ways to manage Mac, iPad, iPhone, and Apple TV in their environment. This year, help us break the thousand mark!

The JAMF Nation User Conference is not a sales expo or a tradeshow. Instead, it’s a welcoming, three-day rally of user and community presentations, hands-on labs, instruction, and developer training. You will leave with practical information you can take back to your organization and use to make an immediate impact.

Registration is free and open to members of the Apple IT community. We hope you can make it and look forward to seeing you in October.

JAMF Software

Twitter LinkedIn YouTube Instagram JAMF Nation
Resources | Products | Solutions | Contact | Jobs | Blog
Apple Watch

Sync Photo Albums To Your Apple Watch

I keep looking for more and more ways to have my Apple Watch be really functional without having it talk to my phone when I need the function it’s performing. One of those can easily be looking at photos. One of these is to sync some photos to the watch so that if my battery dies or I leave my phone on my desk, I still have access to photos if I want to get to some. To sync pictures from your

First, open the Apple Watch app on your iPhone. Then tap on Photos in the list of apps under the default My Watch tab.

IMG_3925

From the Photos screen, choose to be notified of alerts. I leave this set to Mirror My iPhone. Then, set the Synced Album to any album on the phone that you’d like to sync to the watch. This might be Camera Roll, the default, or you can select any album that you’ve created. After I did this, I’ve created a new album call watch that syncs all the pictures I want on my watch.

IMG_3927

Tap on Photos Limit to configure how much space you allow the photo album to fill up on your watch. You can select 25, 100, 250 or 500 photos, which nets 5MB, 15MB, 40MB and 75MB respectively. Then tap

Then wait. The photos will be sync’d to your Watch.

Apple Watch

Take A Screenshot On Apple Watch

Just like with an iPhone, it’s simple to take a screenshot on your Apple Watch. It’s a similar process as on other Apple devices. To take a screenshot from an Apple Watch, go to the screen to take a screen capture of and then press and hold the digital crown (the round button that spins) while you press the side button down (the little button below the digital crown).

IMG_3647

The screen will flash for just a second and you’ll hear the camera sound. If you wait a couple of minutes, the screenshot will automatically show up on your phone in the photo library.

Mac OS X Ubuntu Unix WordPress

Resolve InnoDB Errors In MySQL

Database won’t start? InnoDB errors are a pain. Where was krypted for a month? Did everything finally get to me and I gave up blogging? No, the site ended up having some problems with corruption in some rows of the InnoDB tables. But, I was able to get the site back up by putting the database into recovery mode. How did I do this? It’s pretty straight forward. Open my.cnf and paste these lines in there:

innodb_force_recovery=3
innodb_purge_threads=0

Once the corruption is resolved, bring up empty databases and import your mysqldump into the new databases and link your site back up. But, the InnoDB force recovery puts the database into recovery mode, which is read only. So I wasn’t actually able to use the site, just look at it. At least the content was available, right? When MySQL isn’t writeable, you can’t log in as an admin, etc. The rest is one of the bigger pains I’ve encountered that didn’t result in an all nighter at a customer. I’ll write that up when I have time some day. In the meantime, next time someone changes my root password and breaks my backup scripts so I can’t just bring in a mysqldump, I’m breaking their arms. You’ve been warned.

Apple Watch

Apple Watch Vs. Pebble DeathMatch (Comparison)

When I started to write this, I had this idea that I’d write an article that looked at the features and the usability of the Pebble and those of the Apple Watch. Both have the ability to load custom apps, both have app stores, both do many of the same other tasks, etc.

watch-dmPebble_Technology_Pebble_669108_i0

The problem with that premise for this article is that they simply aren’t even remotely comparable. Let’s look at why:

  • Apps: The Apple Watch can support apps and glances from apps. You can load as many as the thing can take, you can get different types of apps and there are already hundreds (if not thousands – I don’t have the patience to count) of apps that have support for the Apple Watch. The Pebble on the other hand is limited to 8 concurrent apps and I have never actually found more than 5 that I wanted to use that didn’t involve a watch face.
  • Watch faces: I don’t change watch faces really. Most of the apps on a Pebble are all about custom watch faces. Pick your favorite school, your favorite Disney character, etc. The watch faces available for the Apple Watch are great and all, but the default face, with instant access to the calendar, your exercise stats, the weather, and of course the time, are is really what the device is about and the best usability option, something Apple has always excelled at. It would be great if the other time zone option on the Apple Watch had some really cool stuff you could swap it out with. If you force tap on the screen, you can certainly select other things, but all the cool stuff is placed in other areas of the default watch face.
  • The screen: The screen on the Apple Watch is just a beautiful screen, with full color, lots of pixels, etc. The screen on the Pebble more closely resembles options from an Atari 2600. So, think Wii vs 2600 (aka e-paper)…
  • The app that manages the wearable: The Apple Watch app has in app controls for what’s available on phones, can configure which apps/glances are shown, unpair/re-pair, configure notifications, manage Do Not Disturb, put the device into Do Not Disturb mode, configure passcodes, manage sounds and vibrations, configure brightness and size. It’s pretty robust. The app for the Pebble does much less, but is on par given the features available on the device in general.
  • Light: The type of light emitted by the Pebble actually makes it a little easier to see in sunlight to me. But if you have sunglasses on then forget about it. Which I usually do when there’s a lot of sunlight. But this is a showstopper for some. Like those who (legitimately) still look for raised keyboards on phones…
  • Battery life: The Pebble kicks the crap out the Apple Watch when it comes to battery life. I’ve not charged my Pebble once in a week and it was happily camping straight into the next week. My Apple Watch must be charged daily.
  • Older iPhones: The Pebble can work on any iOS 6 compatible device (and up). The Apple Watch needs an iOS 8 device. So if you have an older phone, you’ll likely want a Pebble. Or take this as the opportunity to stop listening to 90s era Brittany Spears and upgrade your phone when you buy a watch.
  • App security: There are apps that can muck up a Pebble. This ranges from screen distortion to apps crashing. I tend to think that if an app can cause a device to crash then it could be intentionally designed to do more worser (yes, that was on purpose) things to the device as well. I could be wrong and haven’t spent any real time doing security research on the device, but it seems like a bad thing. Meanwhile, apps that go to an Apple Watch go through the App Store and so have at least some semblance of review.
  • Music Control: I like the Pebble more in this respect. It instantly sends commands to music on your phone. The Apple Watch always seems to be just a little bit delayed (not bad, but I can notice the delay). Having said that, the Apple Watch also has a Remote app, so you can also control music streaming out of computers onto Apple TVs.
  • Instant Messaging: The Pebble can show you messages. The Apple Watch can as well, but goes a step or 10 further and actually allows you to send voice messages, text messages, animated Emoji and even your heartbeat (which people keep creepily sending me – except that one guy who has none – but we all knew he was a lich so whatever on that).
  • Fitness: The fitness options on the Pebble are mostly from apps. The apps are a bit limited, but you can do a few pretty cool things. There are more built-in options on the Apple Watch; however, the 3rd party apps for Fitness tracking are pretty considerable and growing daily.
  • Pay for all the stuffs: Apple Pay isn’t the most widely accepted form of payment around, but it is gaining in popularity and pretty cool. Not sure if NFC is really going to be changing the world, but it might, and a wearable that isn’t specifically a fitness tracker is likely going to need it over the coming year.
  • Price: The Pebble can be $89. The Apple Watch starts at $350 and goes up to thousands (10 of ’em actually).

Overall, the Pebble is inexpensive. At 4 times the cost is the Apple Watch, which has less battery power but way more features. So it’s not Apples to Apples (no pun intended) to compare these. If you’re interested in a really inexpensive wearable and not worried about all the crazy features that come on them, check out the Pebble. But, the Apple Watch, as with many an Apple product, is very much worth the price tag. Unless you’re getting a gold one…

Articles and Books public speaking

Part 2 of the AFP548 Podcast Interview with Pepijn

Love interviewing this guy! Who wants to be next?