LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-27-2002, 01:19 PM   #1
thecrab
LQ Newbie
 
Registered: Feb 2002
Location: Quebec, Canada
Distribution: RedHat and Mandrake
Posts: 9

Rep: Reputation: 0
Question 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 ????
 
Old 03-27-2002, 02:14 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
who has been loggin on? nukeu666 Linux - Newbie 3 09-12-2004 11:46 PM
loggin problems tcpdump Linux - Software 2 05-13-2004 09:21 AM
Loggin In As Root MrJBot Linux - Newbie 2 10-30-2003 03:41 PM
loggin in as superuser? BajaNick Linux - Security 5 08-06-2003 09:56 PM
help! can't loggin islandkid Linux - General 1 03-16-2002 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration