Operating System - Linux
1825782 Members
2141 Online
109687 Solutions
New Discussion

redhat - security banner for rlogin

 
Jeff Hoevenaar
Frequent Advisor

redhat - security banner for rlogin

How do I display a security banner before the rlogin prompt?

I currently use /etc/issue for telnet and ssh.

Thanks.
4 REPLIES 4
Sergejs Svitnevs
Honored Contributor

Re: redhat - security banner for rlogin

If you mean "after" a successful login, you can put your message in the /etc/motd.

Regards,
Sergejs
Jeff Hoevenaar
Frequent Advisor

Re: redhat - security banner for rlogin

I mean before the user logs in: (i can do it on a HP-UX server)

rlogin servername -l userid

UNAUTHORIZED USE AND/OR ACCESS IS STRICTLY PROHIBITED

Password:
Sergejs Svitnevs
Honored Contributor

Re: redhat - security banner for rlogin

You can apply banners to rlogin using the
TCPwrappers program.

Check out the following link:
http://www.linuxgazette.com/issue15/tcpd.html

It is not so easy but it works!

Regards,
Sergejs
Andrew Cowan
Honored Contributor

Re: redhat - security banner for rlogin

Check out /etc/issue.net and the banner function of OpenSSH.