Skip to content

Getting the automount back

It seems that disk images (or .dmg) seldomly loose their bindings to the DiskImageMounter.app. This kind of mess can happen when upgrading from Panther to Tiger.

Getting the bindings back is as simple as Option-i on an image and change the Open with setting. But what if you cannot see the DiskImageMounter application and is not in the list anymore?

I just ran a quick search, and the path is:

/System/Library/CoreServices/DiskImageMounter

If you are bored, you should take a look in this folder. It seems to contain a bunch of useful things

UPDATED: If the Finder does not allow the Change All option, you might try to fix the disk permissions using the Disk Utility.


Best French Toast

The best french toasts recipe I know:

  • 2 eggs
  • Some milk
  • 1 drop of vanilla extract
  • Some bread

And of course, you need real Canadian syrup, not that cheap stuff made with corn!

But the recipe is not that important. What is good when eating such a nice breakfast is the fact that you are not doing it. Yes, I do love cooking, and am getting better at it every day, but once in a while, it is time to let the other one be the chef.

And even though it was her first time cooking french toasts, they were real good. So thank you honey for that great weekend and all the cooking you did in the last two days.


Hal the unbeatable

Do you remember Hal, the supra-computer in 2001: A Space Odyssey? Well, since 1967, Hal had a promotion. He is now running Gentoo Linux using a 2.6 kernel and beating uptimes.

root@hal olivier # w
14:56:46 up 427 days, 3:11, 1 user, load average: 0.01, 0.03, 0.43
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
olivier pts/79 12:27 0.00s 0.18s 0.06s sshd: olivier [priv]

427 days! I guess I could say this machine is stable enough. And still, it is a old box:

Linux hal 2.6.6-rc1 #3 SMP Tue May 11 19:48:16 EST i686 Pentium II (Deschutes) GenuineIntel GNU/Linux

I should be upgrading the kernel, but why waste a reboot? ;)


OS X 10.4.2 and Active Directory

While installing a Mac today, I ran a System Update to fetch version 10.4.2. Being curious about what has changed in this version, I consulted Apple's release notes on the patch. Except from certain boring video updates and more firewire support, I came across this important improvement: "Active Directory Users can be given a local administrator rights."

Thank you Apple for making my life easier!!!

This is not even sarcastic. Have you ever administered a network of computer geeks? They do want full access to their machines, while I do want to keep my network secure. Well, this is the perfect solution for me.

Before 10.4.2, I could give them local admin rights via Active Directory by creating a special group with no power except on the local machine (when binding it to AD). But I felt this was a hack and did not like it.

The new solution is much simpler and much more intuitive in Apple's terms. The only thing you have to do while using a network user is to go in System Preferences -> Accounts and give the user admin rights.

Playing with SPF

Have you ever received spam that was coming from yourself or someone else from the same domain name? Well, I did. It seems to be a new trend that spam or viruses are coming from someone with almost the same email address you use.

But why is that? The answer is simple: whitelisting. When you filter spam coming to your inbox, it can be a common practice to whitelist your email address or the domain of your organisation so that it is never non-intentionally considered spam. This is good while working with Bayesian filters and the like.

So what is the solution to this common problem? Well, it is quite simple and it is called SPF, or Sender Policy Framework. Basically, what a sysadmin does is publishing a SPF record about which server should send mail for his domain.

Continue reading "Playing with SPF"

My new toys

It has been one week now in my new apartment and I felt something was missing.

Looking in the kitchen, I discovered that I had no oven and no washing machine. Sure, a microwave is convenient, but I have yet to find a way to cook an omelet in it.

So I went shopping. And here are the results: a Whirlpool ceran oven and a front-load Maytag washing machine. The bill is high, but I think it is worth the price.

From now on, I have no reasons to wear dirty clothes. So if something smells weird, it will not be me.