Solved

How do you set a login banner in RHEL 4.0?

Posted on 2006-10-25
3
2,150 Views
Last Modified: 2013-12-16
How do you set a login banner in Linux RHEL 4.0?  

I know that you are supposed to edit the motd file in /etc.  I also know that the etc/issue file needs to be modified somehow.  Further, a chmod and chown need to be done in usr/share/gdm/themes/RHEL.

I just don't know the details of how to get it all set up correctly.

Does anyone know the full and correct procedure so that login/warning banner will display itself whenever anyone logs into a Linux RHEL 4 Server or Workstation?

Thanks.
0
Comment
Question by:L3MS
3 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 250 total points
Comment Utility
Hi,

Let's discuss it in-a-nutshell:
- contents of the /etc/motd is displayed during an interactive sessin after a succesful logon occured. This is true for both telnet and ssh. To edit the contents of the file simply type somehing in it and be sure that end the file with an <enter> otherwise you wont see the last line.
- Contents of the issue file is displayed *before* login on console so any disclaimer about login etc. must go in this file. The contents is displayed before the login: prompt.  There's a counterpart of the issue, namely issue.net. the contents of the issue.net is displayed during telnet sessions.

So to display a banner wheneversomeone logs in you need to customize issue (for console) and issue.net (for telnet and ssh logins)


0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now