|    |    |    | Today: 06-Apr-2020 |

Setup Ident on Ubuntu

April 11, 2010 | Posted in How to

This is an old trick and I just want to share it. First, install pidentd. Open a terminal console and type the command sudo apt-get install pidentd .

tukulesto@indonesiancoder ~# sudo apt-get install pidentd
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
The following NEW packages will be installed:
libssl0.9.7 pidentd
0 upgraded, 2 newly installed, 0 to remove and 96 not upgraded.
Need to get 2210kB of archives.
After unpacking 5325kB of additional disk space will be used.
Do you want to continue [Y/n]? Y

After pidentd is installed, type the following command sudo /usr/sbin/ikeygen

This will generate the file /etc/identd.key

Next, type sudo nano -w /etc/init.d/identd and just copy and paste the following code:

# identd control script


if [ -f $PIDFILE ]; then
pid=`cat $PIDFILE`

case $1 in
if [ -x $IDENTD ]; then
echo "Starting Identd"

if [ "${pid}" != "" ]; then
/bin/kill ${pid}

echo 'usage: /etc/init.d/identd {start|stop}'

Hit Ctrl + O to save the file to /etc/init.d/identd, then hit Ctrl + X to exit nano.

Next type the command sudo chmod a+x /etc/init.d/identd, then type the command sudo ln -s /etc/init.d/identd /etc/rc3.d/S99identd.

This will create a symbolic link in /etc/rc3.d/S99identd to the init script in /etc/init.d/identd.

edit /etc/identd.conf to configure your identd daemon to your liking by typing sudo nano -w /etc/identd.conf, now start the identd daemon by typing in your terminal console sudo /etc/init.d/identd start or you can just reboot and the daemon will start automatically.


Don Tukulesto


[>] Ubuntu Forums
[>] Google Inc.

[>] greet’s

[+] kaMtiEz
[+] M364TR0N
[+] N4ck0
[+] Ibl1eZ
[+] YaDoY666
[+] elv1n4
[+] Jack-
[+] X Shadow

Taged in: cat pidfile, command, google inc, identd, init, init script