Getting the automount back

Friday, July 29. 2005

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.

Hal the unbeatable

Friday, July 22. 2005

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

Wednesday, July 20. 2005

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

Monday, July 18. 2005

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"