Hello!
I would like to execute a command for each connection on a socket. For example executing a finger on the remote computer to know who connects to my server. I tried to specified in /etc/inetd.conf a command like "in.telnetd & finger @xxx.xxx.xxx.xxx >> /var/adm/telnet.log; " instead of the regular "in.telnetd" command but it doesn't work. I also tried every variant.
If you have any idea or solution, I think that it is something very interresting to log the name of the person who tries to connect your server.
Thank you
Thrruss