betabug... Sascha Welter

home english | home deutsch | Site Map | Sascha | Kontakt | Pro | Weblog | Wiki

28 July 2009

How to enable identd / auth on Mac OS X 10.4

Fast and simple... no installs needed

IRC on the shell is fun... but some IRC servers require to get an auth response from your machine. Since I'm on a 3G connection right now and I wanted to IRC on Mac OS X... which doesn't run identd by default, I had a non-fun problem.

Now there are people saying that you need to install some software on Mac OS X to get identd (the "auth" service) running. At least for 10.4 this is not true, everything is still there in the system. Of course Apple is progressively trying to cripple the Unix base of the system, e.g. by replacing simple config files with weird xml setups. But still it's possible to get things going with built in tools.

So what did I do (apart from searching the f* web)?

Step 1: Enable the auth service in /etc/inetd.conf

Yes, indeed, the very good old inetd.conf, not xinetd, not launchd, not xml something. There is just one line that needs to be uncommented. Change this line:

# auth    stream  tcp     wait    root    /usr/libexec/identd     identd -w -t120

to this line:

auth    stream  tcp     wait    root    /usr/libexec/identd     identd -w -t120

Step 2: Start inetd

Yes, indeed again, inetd is still there. It's probably working through 3 layers or more of Apple bogon fields (aka inetd over xinetd over launchd), but it works. Run this little command as root:

# /System/Library/StartupItems/IPServices/IPServices start

As mentioned, this works for me in 10.4 (Tiger), where I needed it to connect to IRC. Dunno if this still works for 10.5 (Leopard), but I guess it might as well work - give it a try and leave a comment.

Also this doesn't auto-start when you start up the machine. You'll either have to repeat step 2 after each restart ... or find out how to auto-start things on boot. Have fun!

Posted by betabug at 10:43 | Comments (2) | Trackbacks (0)
ch athens
Life in Athens (Greece) for a foreigner from the other side of the mountains. And with an interest in digital life and the feeling of change in a big city. Multilingual English - German - Greek.
Main blog page
Recent Entries
Best of
Some of the most sought after posts, judging from access logs and search engine queries.

Apple & Macintosh:
Security & Privacy:
Misc technical:
Athens for tourists and visitors:
Life in general:
<< Summer is here | Main | Pastitsio Nudelauflauf >>
Re: How to enable identd / auth on Mac OS X 10.4

Dunno about 10.5, but 10.6 has neither /etc/inetd.conf nor /usr/libexec/identd. Dear Apple, thanks so much for crippling Unix.

Posted by: betabug at January 18,2010 10:25
Re: How to enable identd / auth on Mac OS X 10.4

Yeah, same on 10.5 =(

Posted by: seeno at June 07,2010 05:50
You can trackback to:
There are no trackbacks.