Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2173
  • Last Modified:

How do you set a login banner in RHEL 4.0?

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
L3MS
Asked:
L3MS
1 Solution
 
Kerem ERSOYPresidentCommented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now