> > > 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). If you specify this program as a user shell, the above user won't be able to gain shell access to his account, but will be able to ftp to it. Hope it's more clear now. Alex Y. -- _ _( )_ ( (o___ +-------------------------------------------+ | _ 7 | Alexander Yukhimets | \ (") | http://pages.nyu.edu/~aqy6633/ | / \ \ +-------------------------------------------+ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .