First you must be running your ftpd from within tcp wrappers. The line from inetd.conf should be something like
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd Then in your hosts.allow file put ftpd: hostname I am pretty sure tcp wrappers does not perform any sort of user based authentication, it is simply an IP based filter. Your ftpd will have to restrict who can login to the system via that protocol. I would recommend the following in your hosts.deny All: ALL Then you can open the box as needed. On Thu, 8 Nov 2001, Daniel Pope wrote: > 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 > Prentis Brooks | [EMAIL PROTECTED] | 703-265-0914 | AIM: PrentisB Senior System Administrator - Web Infrastructure & Security A knight is sworn to valor. His heart knows only virtue. His blade defends the helpless. His word speaks only truth. His wrath undoes the wicked. - the old code of Bowen, last of the dragonslayers