Re: want to put msg when user is denied login
From: Barry Margolin (barry.margolin_at_level3.com)
Date: Fri, 02 May 2003 20:11:37 GMT
In article <WaAsa.5299$NC4.firstname.lastname@example.org>,
LHradowy <laura.hradowy@NOSPAM.mts.ca> wrote:
>Right now we have telnet running on a Sun Solaris 2.7 server. I want to turn
>telnet off, and ssh on.
>I also want to have a message pop back when the person tries to log in using
>telnet, telling them that it is disabled for security reasons.
>Where do I do that...
Write a simple script that prints the message you want. Then change
/etc/inetd.conf to run that script instead of telnetd for the telnet
-- Barry Margolin, email@example.com Genuity Managed Services, a Level(3) Company, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.