Tcp wrappers are to limit who can connect to a particular service on a box by IP. I don't know enough to tell you how to disallow that user telnet access. But I don't think TCP wrappers are the answer since they are not user aware.
-----Original Message----- From: Daniel Pope [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 08, 2001 11:23 PM To: [EMAIL PROTECTED] Subject: Tcp-wrapper question ! Dear all, I'm a little bit embaressed to ask this trivial question but I scanned vainly the Internet to find an answer and I have to solve it quickly. I'm the administator of Linux RedHat system (only one computer) and I have to allow a user (I have recently created his account on the this Linux System) access only by FTP (deny Telnet access). The user should be able to log only with FTP but not with Telnet from anywhere. Of course, I tried to use TCP WRAPPER but I canot find the properly syntax. Adding a line inside hosts.deny as in.telnetd : USER_ACCOUNT_NAME@ALL was the "clever" of all the combinations I tried. (tcpd is installed and working OK). Any hint would be very appreciated ! Daniel Pope __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
