From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,13a3034eeb512dbc X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,13a3034eeb512dbc X-Google-Attributes: gidfee84,public From: gelinas@bismuth.zk3.dec.com (Mark Gelinas) Subject: Re: /etc/issue? Date: 1997/10/10 Message-ID: #1/1 X-Deja-AN: 279388557 Sender: gelinas@bismuth.zk3.dec.com References: <34396F50.41C6@gsfc.nasa.gov> Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 In article Finn Rasmussen writes: On 7 Oct 1997, Mark Gelinas wrote: > In article <34396F50.41C6@gsfc.nasa.gov> David Alban writes: > > > In some unixes the file /etc/issue is displayed after telnet and ftp > > connections are made but before the user logs in. > > [snip ..] > > Well, I checked and found the following: > > man issue > - works on terminals spawned from /etc/inittab, read by getty daemon > (usually LAT terminals, not telnet connections) > > man issue.net > - works on terminals opened by telnetd, read by telnetd > > man gettydefs > - a message < 79 characters can be output to a defined terminal > > man telnetd > - quote from man page: > > "By default, the telnetd daemon starts the login dialog using the login > string specified in the message field of the /etc/gettydefs file. If an > /etc/issue.net file present, telnetd reads the file and writes its contents > over a new telnet connection prior to starting the login dialog. If an > /etc/issue file is present, but not a /etc/issue.net file, telnetd reads > that file and writes its contents over a new telnet connection instead." > > The last line appears to be in error, as it conflicts with the descriptions > from the issue(4) and issue.net(4) name pages. > > man ftpd > - no information found on setting messages for the ftp service > > > > To sum up - change the file name from issue to issue.net, and telnet > should get a message now. > What kind of Dunix are you on? The manpages of my Dunix (3.2G) doesn't know anything about issue or issue.net. Further, following your advice I created a /etc/issue.net file -- BUT telnet doesn't display this file. So the original question is still open, I would say. My apologies to the original poster - I failed to notice they wanted a 3.2x solution. My notes were from 4.0 (4.0B to be exact). For 3.2x, you are limited to modifying gettydefs. An alternate (ie. non-Digital shipped) solution would be to install TCP wrappers and use the banners feature. ftp://ftp.win.tue.nl/pub/security/tcp-wrappers-7.6.tar.gz MarkG -- Mark Gelinas Digital Equipment Corporation EMail: gelinas@zk3.dec.com 110 Spit Brook Road, ZKO3-3/V08 Phone: +1 (603) 884-1511 Nashua, NH 03062-2698 USA