LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Loggin Banner (https://www.linuxquestions.org/questions/linux-general-1/loggin-banner-17130/)

thecrab 03-27-2002 01:19 PM

Loggin Banner
 
Hello!

I just want to add a login banner to my Red Hat 7.2.
But I have no idea where I have to go???

something like:

=-----------------------=
Warning
--------------------------
The programs and data on this system.....
Unauthorised acces....
If you are not an authorized user,
DO NOT ATTEMPT TO LOGIN IN.
---------------------------

user name:



Someone know how to do that ????

acid_kewpie 03-27-2002 02:14 PM

write the banner that you want as a file and put it somewhere logical. then edit /etc/rc.local and at the bottom add a line like:

cat /root/loginmessage >> /etc/issue

that'll do it. /etc/issue is that file that is shown at a login prompt


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