On Sun, Mar 18, 2007 at 01:08:13AM +0800, Wei Chen wrote: ... > >BTW, both methods lock shells as well as ftp and sftp. Changing the shell > >to > >> /usr/sbin/nologin allows ftp but still prevents sftp. > >> Is there a method that locks shell but allows ftp and sftp? Thanks. > >> > >I think that you just described it. Change the user's shell to > >/bin/false or something similar. > > > But changing the shell to nologin or false will also block sftp access... apt-cache search sftp turns up rssh and scponly
yours albert -- Albert Dengg <[EMAIL PROTECTED]>