Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pedwards@cs.wright.edu (Phil Edwards)
Subject: Re: /etc/issue?
Date: 1997/10/07	[thread overview]
Message-ID: <61e030$fcd$1@alpha.wright.edu> (raw)
In-Reply-To: 34396F50.41C6@gsfc.nasa.gov


[cc'd to poster]
[followups slightly trimmed]


David Alban  <david.alban@gsfc.nasa.gov> wrote:
[snip /etc/issue]
+ 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?


dUnix doesn't pay attention to the /etc/issue file.  I dunno about ftp, but
for telnet, you can change the "login:" prompt given in /etc/gettydefs.
Here's a snip from ours (nonindented):

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
default#B9600#B9600# %v(%h)\r\n\r\n Wright State University -- Unauthorized use prohibited \r\n \
\
\n\r#default

console# B9600 HUPCL CS8 CLOCAL # B9600 SANE IXANY TAB3 CLOCAL #\r\n\r\n%v (%h) %t\r\n\r\n\rlogin: #console
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

When I telnet to one of these boxes (assuming telnetd can't determine a
default USER env setting), I see this:

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Connected to gamma.cs.wright.edu.
Escape character is '^]'.
 (gamma.cs.wright.edu)

 Wright State University -- Unauthorized use prohibited

login: <insert favorite blinking cursor here>
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Luck++;
/dev/phil

=> If you post a followup, please don't email a copy to me.  I read news
    often enough that replying to things twice is annoying.  But thanks.




  parent 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 ` /etc/issue? Mark Gelinas
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 ` Phil Edwards [this message]
1997-10-07  4:00 ` /etc/issue? Joe Spanicek
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