Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: gelinas@bismuth.zk3.dec.com (Mark Gelinas)
Subject: Re: /etc/issue?
Date: 1997/10/07	[thread overview]
Message-ID: <sjkd8lh1gb4.fsf@bismuth.zk3.dec.com> (raw)
In-Reply-To: 34396F50.41C6@gsfc.nasa.gov


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.  I have an Alpha
> running "OSF1 V3.2".  I have created an /etc/issue file, but it seems to
> be ignored.  Can anyone tell me how to display a message (you know like,
> "If you're not supposed to log in, and you do, you'll begin to itch
> uncontrollably" :-) to users who have connected and are about to log in
> or ftp in?

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.


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



  reply	other threads:[~1997-10-07  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 ` Mark Gelinas [this message]
1997-10-09  4:00   ` /etc/issue? Finn Rasmussen
1997-10-10  4:00     ` /etc/issue? Mark Gelinas
1997-10-10  4:00     ` /etc/issue? Joe Spanicek
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