I have telnet configured in /etc/inetd.conf as below:
telnet stream tcp6 nowait root /usr/lbin/telnetd telnetd -b /etc/issue -n20
When i restart the service telnetd shows with only the -b option:
ps -ef|grep telnetd|grep -v grep
root 24397 1 0 10:42:35 pts/ta 0:00 telnetd -b /etc/issue
When users try to connect via telnet they are only getting 2 seconds before being logged out of the terminal.
Can anyone point me in the right direction as to why the timeout is so short by default and why i can't set the "-n20" option to extend the timeout?