This message pertains to REDHAT. I don't know about other distro's.
If you modify issue and issue.net, that mod will be lost on the next reboot.
go to /etc/rc.d/rc.local
and search for a line that reads:
# This will overwrite /etc/issue at every boot
then modify your text here.You can either echo the text and variables, or,
just cat a text file into it. issue is copied to issue.net with this script.
For telnet, create a banner and run the makefile for prototype. it will
provide you with a banner for any service under inetd.conf.
cp /usr/doc/tcp_wrappers-7.6/Banners.Makefile /etc/banners/Makefile
echo "This is just a test banner, if it were a real banner, it would be an,
uh, hmmm. REAL Banner." >prototype
Now you have a prototype banner.
Put something meaningful in the text above (The file now named prototype)
By defaults, this will be the banner for in.telnetd, in.ftpd, and
read the make file, man pages, apropos, and web searches for the fine points
on this. You can make separate banners for each service.
To activate the banners edit the /etc/host.allow file.
add the "banners /etc/banners" option followed by "allow"
add another option for the denied services. , so, it would look like this
for telnet being allowed from workstation.yahoop.org
in.telnetd workstation.yahoop.org : banners /etc/banners :
all : all : banners /etc/banners : deny
That's a little bit. ftp has a whole shooting match of banners it can
display. I use variables to tell users what directory they are in, where
they need to be before they upload, where they came from, and how many other
users are using ftp other than themselves.
Hope it helps a little
> Where can I add or change the login messages for telnet and ftp?
> For example in telnet I want to place a message before the login prompt:
> Escape character is "^]"
> <MY MESSAGE HERE>
> www Login:
> For ftp I want to have the message pop up when the user connects, like
> cdrom.com does. They have a message window when you change into most of
> the directories.
> I tried making .message, README, and welcome.msg for ftp, but I never
> see them when I ftp in. I tried them in my user directory and in
> anonymouse /home/ftp, but, still nothing.
> John Jacques