Telnet Banner

I need to put a telnet banner on AIX 4.3 and 5.1 servers, so the users can see a warning message before logging into the system. I know /etc/motd will give the message after the login. Basically what I am asking is how do I tell system to read the /etc/issue file on AIX?.

Thank you, in advance for you reply.

/etc/security/login.cfg is for that purpose on AIX...

getty opens /etc/issue on hp-ux etc.. on AIX it opens /etc/security/login.cfg... also look at this link...

use the herald = "string to show to user"..

I don't know how to display multiple line messages...

http://www.unet.univie.ac.at/aix/files/aixfiles/login.cfg.htm

Cheers!
Vishnu.

also look at this link...

http://nt.bnl.gov/banner/unix_banner1.asp

Cheers!
Vishnu.

To add newlines to the login screen, you need to use the following escape sequence: \r\n (CRNL).

Example:

herald = "\r\n\r\nAuthorized login only\r\nlogin: "

Will be displayed with two blank lines after you logout (add as many as you want to clear the screen):

Authorized login only
login: _CURSOR IS HERE

Thank You very much guys for your help.
It worked the way I wanted.