Date: Fri, 15 Dec 2000 02:14:05 -0800 (PST) From: tanes73@yahoo.com To: freebsd-gnats-submit@FreeBSD.org Subject: i386/23562: telnetd doesn't show message in file specified by if in gettytab. Message-ID: <200012151014.eBFAE5K68822@freefall.freebsd.org> Resent-Message-ID: <200012151020.eBFAK1x70369@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 23562 >Category: i386 >Synopsis: telnetd doesn't show message in file specified by if in gettytab. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 15 02:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Tanes Sriviroolchai >Release: 4.2 Release >Organization: NCR (Thailand) Ltd. >Environment: FreeBSD checkserv.Thailand.ncr.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 2 0 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: Telnetd(8) said that we can use s5 style /etc/issue by using if capability, which would overide im. However, no matter how I set if=/etc/issue: in /etc/gettytab and create (with proper mode) /etc/issue, the content of /etc/issue will not be shown. However, getty does show content inside /etc/issue on console. >How-To-Repeat: in /etc/gettytab add if as shown below. :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:if=/etc/issu e: create /etc/issue with mode 644 root/wheel and contain any messages such as Hello Issue<LF> Reboot. After the system restart, the console will display: Hello Issue FreeBSD/i386 (checkserv.Thailand.ncr.com) (ttyv0) login: Login and telnet localhost, you will see that it shows: FreeBSD/i386 (checkserv.Thailand.ncr.com) (ttyp2) login: instead of Hello Issue login: >Fix: Recompile telnetd from /usr/src/libexec/telnetd (4.2 Release) and update new telnetd back into distribution. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012151014.eBFAE5K68822>