- How to install and setup identd on Linux
- How to enable identd on macOS
- How to enable identd on IRC Clients (mIRC, AdiIRC, Chatzilla, X-chat)
Identd is a service that sends a username in plain text across port 113 when requested. You specify a text name in the application (typically a username) and run the service. The original purpose of identd is to “validate” a user was who they are saying they are when they cross over the Internet. Identd is commonly used for IRC and FTP sites.
When connecting to an IRC server the leading tilde (~)
nickname!~ident@host/ip indicates that you are not running identd on your machine. Identd is an age-old service that runs on port 113 and was designed for shared shells. It’s essentially a process that confirms that you are who your ident says you are. For the full, geeky details on identd, see RFC 1413.
Basically, your client sends your required ident as part of the initiation commands when you connect to Undernet. The server then checks to see whether you have an identd running and uses the ident reported by that in your hostmask. If the server does not find identd running on your machine, it adds the tilde (~) to your ident.
Install and Setting up ident on Linux.
2. macOS X
Enable ident on macOS
How does identd work?
There was once an application that enabled and disabled the identd service in Mac X. This application no longer works in the latest versions of Mac. Luckily, someone wrote a Unix executable that creates an identd service and can be started automatically when your Mac boots.
Step 1: Download the new version of identd located here and extract to your Desktop.
Step 2: Run these commands to properly configure identd in Mac X Terminal.
sudo mkdir -p /usr/local/identd
sudo chown root:wheel /usr/local/identd
sudo cp ./identd /usr/local/identd/
sudo cp ./identd.conf /usr/local/identd/
sudo cp ./org.macmax.identd.plist /Library/LaunchDaemons/
sudo chown root:wheel /usr/local/identd/identd
sudo chmod 755 /usr/local/identd/identd
sudo chown root:wheel /usr/local/identd/identd.conf
sudo chmod 644 /usr/local/identd/identd.conf
sudo chown root:wheel /Library/LaunchDaemons/org.macmax.identd.plist
sudo chmod 644 /Library/LaunchDaemons/org.macmax.identd.plist
# Load and set to Auto Start on Mac X boot
sudo launchctl load /Library/LaunchDaemons/org.macmax.identd.plist
Step 3: Test your new identD installation and ensure the service started and is running. Type in Terminal:
telnet localhost 113
This should return:
Connected to localhost.
Escape character is '^]'.
Step 4: Change your identD username. Go to /usr/local/identd/identd.conf. You can open identd.conf in TextEdit.
Type in the username. Use the format listed below in the screenshot. Ensure you have a "1" in front of the username to enable identd.
You should drag that file out of that path to your desktop to be able to edit and save it. Then drag it back.
Finally, we need to allow the identd service on the Mac X built-in firewall – IF you have this enabled. Navigate to -> System Preferences -> Security & Privacy -> Firewall -> Firewall Options.
Click the + and browse to /usr/local/identd/ and add the identd app. Ensure to Allow incoming connections per the screenshot below.
The original websites of this application can be found here and here.
NOTE: I enabled IDENT but i still have ~, what do I do now?
Many users running behind routers/modems will need to forward port 113 in order to be able to successfully use ident. Please refer to Port Forward for more information on how to achieve this.
3. IRC clients.
Enable ident on IRC clients.
How do you enable identd on your IRC client?
Many clients either have Identd built in or include the option to turn it on. Check the documentation for your particular client. Note however that there are clients that will not provide support.