From: gelinas@bismuth.zk3.dec.com (Mark Gelinas)
Subject: Re: /etc/issue?
Date: 1997/10/10 [thread overview]
Message-ID: <sjkbu0xb6xg.fsf@bismuth.zk3.dec.com> (raw)
In-Reply-To: Pine.OSF.3.95.971009113025.7284A-100000@kemi.aau.dk
In article <Pine.OSF.3.95.971009113025.7284A-100000@kemi.aau.dk> Finn Rasmussen <fra@kemi.aau.dk> writes:
On 7 Oct 1997, Mark Gelinas wrote:
> In article <34396F50.41C6@gsfc.nasa.gov> David Alban <david.alban@gsfc.nasa.gov> 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
next prev parent reply other threads:[~1997-10-10 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-06 4:00 /etc/issue? David Alban
1997-10-07 4:00 ` /etc/issue? Mark Gelinas
1997-10-09 4:00 ` /etc/issue? Finn Rasmussen
1997-10-10 4:00 ` /etc/issue? Joe Spanicek
1997-10-10 4:00 ` Mark Gelinas [this message]
1997-10-07 4:00 ` /etc/issue? Joe Spanicek
1997-10-07 4:00 ` /etc/issue? Phil Edwards
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox