> > > > how can i do to avoid that an user can make telnet to may host? (but I
> > > > must can do ftp,irc,http,etc)...I only want prohibit telnet.
> > >
> > > Change shell for the users you want to forbid telnetting to /bin/true
> > > and add the line "/bin/true" into /etc/shells file.
> > >
> > true?....what's true? and simple word?
> > sorry, but i don't understand you well.
> Well, if you noticed, you've got a /bin/true binary the whole purporse
> of which is to return "true" (zero exit code).
Yeah that's true. And, you could just as well have used /bin/false :).
But, a better answer to his question of disabling telnet completely
is just removing the telnet line from /etc/inetd.conf. This will
really make all telnet connections impossible (I prefere the /bin/true
option myself, but he seemed to ask for disabling telnet altogether).
joost witteveen, firstname.lastname@example.org
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .
- Re: telnet
- From: Alex Yukhimets <firstname.lastname@example.org>