Following the link taken from this question, I got the following error.
$ ./freenexus
[*] Android local root exploid (C) The Android Exploid Crew
[*] Modified by ak for HTC Nexus One
[+] Using basedir=/data/local/tmp, path=/data/local/tmp/freenexus
[+] opening NETLINK_KOBJECT_UEVENT socket
[+] sending add message ...
[-] sendmsg: Connection refused
Does this mean that method is now outdated?
fastboot oem unlock
instead. – eldarerathis Feb 12 '12 at 21:01