Managing users and groups from the OS X terminal

I was recently playing around with SaltStack and wanted to create a salt user and group to run the master. This led me to learn some basics of user and group management on OS X, and I thought I’d put them here to remember. FYI I did all this on Yosemite, but it seems like this is the way things have worked for a while, so it should work on just about any OS X system that’s still running I would think. No guarantees though.

Continue reading

Brew + encfs + osxfuse + Yosemite upgrade = problem

I finally pulled my finger out and updated to Yosemite yesterday. I probably don’t need any of the features, but I prefer the look. It also seems like a good idea to stay up to date for warranty purposes – I once got an out of warranty battery replacement 4 years after purchase because I was a good Apple kid and stayed up to date. Anyway, as with the update to Mavericks, I ran into a problem with EncFS not working.

Continue reading

More Fun with KeyRemap4MacBook

Recently I wrote a post on how to remap your Caps Lock key in a context sensitive way using KeyRemap4MacBook. Since then (just now) I have started to use my Mac laptop with an external keyboard. Not anticipating any issues, I got a little scared when the key remap I’d spent a while investigating and setting up didn’t work. It is with great relief that I now post the solution. You also get a bonus tip if you make it to the end of the post.

Continue reading

Caps Lock for Terminal Junkies Using OSX

It’s been a couple of years since I’ve owned a Mac, but now I’m happily back in Apple’s clutches. During the intervening period between owning my last Mac and this one, I fell in love with remapping the Caps Lockkey to be another control key. Given that I spend a fair chunk of my day in Vim and a terminal, this saves alot of strain on my pinky finger and puts an otherwise useless key to good use. However, now that I’m back in Mac land I faced a dilemma: should Caps Lock be the control key, or the command key. You see, I’ve become very use to hitting caps+c/v to copy and paste, but Apple, bless their infinite wisdom, have a command key that is used for this purpose. What’s a geek todo?

Continue reading