LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   changing the welcome message in redhat (https://www.linuxquestions.org/questions/linux-general-1/changing-the-welcome-message-in-redhat-132284/)

linuxboy_inside 01-07-2004 12:18 AM

changing the welcome message in redhat
 
hi!

i tried to change this /etc/issue.net? , but when i restart my box its back again..

any other file to edit?

thanks in advance...:)

MartinN 01-07-2004 12:40 AM

Hi!

Been there, done that. :)

There is some script that writes to that file every time you boot. Don't remember which. You could "solve" the problem by disallowing writing to the file:
chmod 444 /etc/issue.net

Regards
Martin

linuxboy_inside 01-07-2004 12:49 AM

thanks for your reply mr. martin :)

i just want to know what is the file script responsible to write it again everytime it boot?

maybe i have just put # to disable the effect of the script...

WindowsBurner 01-07-2004 09:15 AM

Well i dont if its the same in RH but in slack all you have to do is edit /etc/issue.
Thats all i did.my /etc/issue.net is completely empty.And my message is always displayed.

trickykid 01-07-2004 09:28 AM

You can also use /etc/motd

motd = Message Of The Day

I actually sometimes will just get rid of issue and issue.net as it displays information about your system which can harm you at times when on a network. It allows people to know what your running, etc.

Safest bet is to use motd and just remove issue.net and issue

Not totally necessary but just a small security hint. :)

WindowsBurner 01-07-2004 09:29 AM

cool! thanks tk never even thought of that *mentaly kicks myself*. I think I'll try it.:D

Thanks agian.

WB


All times are GMT -5. The time now is 09:02 AM.