我需要更改Debian4.0服务器的telnet登录提示。目前形式如下:
hostname login:我需要的是:
login:显然,chnages到/etc/仙e.net只会影响在“登录提示”之前显示的内容,而不是实际的提示。
谢谢!
发布于 2010-11-24 10:05:54
-h参数控制登录提示符下主机名的打印:
-h Disables the printing of host-specific information before login has been completed.应该将此选项添加到/etc/inetd.conf中的相应行中,如下所示:
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd telnetd -hhttps://serverfault.com/questions/205516
复制相似问题