Operating System - HP-UX
1833007 Members
2892 Online
110048 Solutions
New Discussion

Display Security Message - Before Users Login

 
SOLVED
Go to solution
Laurie_2
Advisor

Display Security Message - Before Users Login

Hi All,

I need to display a Security Message before
users login to the system HP UX 11.0.

I had the message in /etc/motd but that is
after they log in.

Basically the message says..by loging on to
this system you agree to use the computer
information for business use only, etc. etc..
Legal stuff.

I think it would need to be with the
Login:
Password:
Prompts...before the Login and Password.

It's only about 5 lines of info, so it
shouldn't be too bad and in this age of
law suits it would help protect our data
if a bad employee starts doing bad stuff...
Legally we would be covered...somewhat.

Thanks,
Laurie
How can you make the world a better place
4 REPLIES 4
PIYUSH D. PATEL
Honored Contributor

Re: Display Security Message - Before Users Login

Hi,

you can modify the /etc/issue file and write your message in this file and save it.

Thats it....you are done.

Piyush
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Display Security Message - Before Users Login

Laurie,

There are two important cases where you want to display your security banner.

1. At the console.
2. During the telnet session.

Place your contents in /etc/issue. It will take care of displaying at the console.

Edit your /etc/inetd.conf and add -b /etc/issue at the end of the telnet line (option to telnetd daemon). It should take care of your telnet sessions.

Also there are other situations where you want to display banners like ftp, sendmail interactive session etc.,. Look at ftpaccess and sendmail.cf files.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Pete Randall
Outstanding Contributor

Re: Display Security Message - Before Users Login

Laurie,

In CDE, you can change the login screen itself to not say "Welcome to hostname" by changing the
!!Dtlogin*greeting.labelString:
in /usr/dt/config/C/Xresources

Hope this helps,
Pete

Pete

Re: Display Security Message - Before Users Login

Also use the -B option on rlogind in /etc/inetd.conf to catch those users who sue rlogin rather than telnet.

HTH

Duncan

I am an HPE Employee
Accept or Kudo