Banners and PIDS

Dan Brown plug-discuss@lists.PLUG.phoenix.az.us
Thu, 2 Aug 2001 12:21:16 -0700


Dominic Busher (nainoab@yahoo.com) wrote:
> Date: Thu, 2 Aug 2001 08:26:05 -0700 (PDT)
> From: "Dominic Busher" <nainoab@yahoo.com>
> Sender: plug-discuss-admin@lists.PLUG.phoenix.az.us
> To: plug-discuss@lists.PLUG.phoenix.az.us
> Subject: Banners and PIDS
> Reply-To: plug-discuss@lists.PLUG.phoenix.az.us
> Lines: 26
> 
> I have two questions. First, How to a post a banner
> msg when my users telnet into my Linux box?  I tried
> putting banner = {file} in my telnet file but that did
> not work.

I don't know about question #2 but I believe you're looking
for /etc/motd.  It's a plain text file.  I added some
lines to mine so that everything including the 2
----MOTD------------ lines is whats in my /etc/motd.

Here's what it looks like:

   dan@bart: /etc [326] -> telnet bart
   Trying 192.168.1.3...
   Connected to bart.
   Escape character is '^]'.
   Debian GNU/Linux 2.2 bart
   bart login: dan
   Password: 
   Last login: Thu Aug  2 12:17:15 2001 from bart on pts/3
   ----MOTD------------
   
   This is the motd
   
   ----MOTD------------
   You have mail.

   dan@bart: /home/dan

Hope this helps.

Dan