1

I need to change a telnet login prompt of Debian 4.0 server. Currently it is of form:

hostname login:

I need to have just:

login:

Apparently chnages to /etc/issue.net only influence what is displayed before "login prompt" not the actual prompt.

Thanks!

1 Answers1

1

The -h argument controls printing of hostname at login prompt:

-h   Disables the printing of host-specific information before login has been completed.

You should add this option to corresponding line in your /etc/inetd.conf, like:

telnet          stream  tcp     nowait  telnetd /usr/sbin/tcpd  /usr/sbin/in.telnetd telnetd -h
Catherine
  • 484