--- Cesar Moya <[EMAIL PROTECTED]> wrote:
> Hi again:
> 
> Yes, it is working now.  I put two machines in
> /etc/hosts.allow and "ALL:ALL" line in hosts.deny.  
> 
> I was doing some reading in different sites to get
> the
> right format and found out that there is one more
> thing. 
> Not too important probably, but that I would like to
> try.
> 
> When I make telnet to my linux box I can see the a
> message
> saying I am running RH7.2 version of Linux and the
> kernel
> information as well.  Many sites suggested to remove
> that
> message and replace by another one.
> 
> I have to change two files /etc/issue and
> /etc/issue.net
> where the message originates.  However, those two
> files are
> re-written everytime I boot, so even if I change
> them, I
> will still have the same problem next time I start
> the
> machine.  The way to avoid that was by doing
> something in
> the /etc/rc.d/rc.local file, but that "something" is
> what I
> would like to know exactly how to do.  The websites
> I
> visited were not very clear on that point.
> 
> Do I have to write the message there? Re-direct the
> input
> to /etc/issue using a script? Make a link?  
> 
> Cesar
> 

In your /etc/rc.d/rc.local file you could put:

echo "whatever text you want" > /etc/issue
echo "whatever text you want" > /etc/issue.net

or if your text is in a file:

cp /dir/file /etc/issue
cp /dir/file /etc/issue.net



=====
This message is from Serban Giuroiu, also known online as The Gyzmo.
< g y z m o b r o @ y a h o o . com > AIM Screen Name: gyzmobro

"Code Smarter, Not Harder"
~~~~~

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to