I have always done that for certain users by giving them a shell of /bin/false. They will be disconnected once it tries to run the shell. On Wed, 3 Dec 2003, John Mathey wrote: > I could do that, but this is an internal system, there are some users who > are allowed to telnet into it, others are only mounted to it via a samba > mount point. The way I had configured this was to let the user login, then > broadcast this message and log them out. > > Thanks > John > > > At 11:24 AM 12/3/2003, you wrote: > >John Mathey wrote: > > > >>Years ago, > >> I had configured a system to prevent a user from logging into a system > >> via telnet, but I can't remember now how I did it. Right after the motd > >> was displayed, another banner would show up saying this is a closed > >> system and shortly thereafter, they were logged out. > >>Does anyone know how to accomplish this. I'm looking through my notes but > >>can't seem to recall. > >> > >>Thanks in advance > >>John > > > >can't you just kill the telnet service? > > > >-- > > > >regards, > > > >shane > > > > > >-- > >Shrike-list mailing list > >Shrike-list@xxxxxxxxxx > >https://www.redhat.com/mailman/listinfo/shrike-list > > > -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list