Just replace /bin/bash (or so) with /bin/false ----- Original Message ----- From: namor <[EMAIL PROTECTED]> To: Daniel Pope <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, November 10, 2001 5:26 PM Subject: Re: Tcp-wrapper question !
> How about just make an invalid shell in /etc/passwd? > > > 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 > > > > =-=-= > "Some mornings it just doesn't seem worth it to gnaw through the leather straps." > -Emo Philips > >