Running hidentd with inetd
If you want to start hidentd via inetd, add this to your inetd.conf:
auth stream tcp nowait identd /usr/local/sbin/hidentd
Then force inetd to reload inetd.conf:
killall -HUP inetd
This example assumes that hidentd is installed in /usr/local/sbin/hidentd, and user identd exists.
Note that under FreeBSD hidentd has to be run as root:
auth stream tcp nowait root /usr/local/sbin/hidentd